Added ProjGen for generating sample VC++ project files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-10-04 13:31:50 +00:00
parent 4658cb18f1
commit 302aa842e9
17 changed files with 1647 additions and 0 deletions
+64
View File
@@ -0,0 +1,64 @@
#
# File: makefile.nt
# Author: Julian Smart
# Created: 1993
# Updated:
# Copyright: (c) 1993, AIAI, University of Edinburgh
#
# "%W% %G%"
#
# Makefile : Builds makeproj example (MS VC++).
# Use FINAL=1 argument to nmake to build final version with no debugging
# info
# Set WXDIR for your system
WXDIR = $(WXWIN)
WXUSINGDLL=0
!include $(WXDIR)\src\makevc.env
THISDIR = $(WXDIR)\utils\makeproj
PROGRAM=makeproj
OBJECTS = $(PROGRAM).obj
$(PROGRAM): $(PROGRAM).exe
all: wx $(PROGRAM).exe
wx:
cd $(WXDIR)\src\msw
nmake -f makefile.nt FINAL=$(FINAL)
cd $(THISDIR)
wxclean:
cd $(WXDIR)\src\msw
nmake -f makefile.nt clean
cd $(THISDIR)
$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
$(link) @<<
-out:$(PROGRAM).exe
$(LINKFLAGS)
$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
$(LIBS)
<<
$(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
$(cc) @<<
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
<<
$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
$(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
clean:
-erase *.obj
-erase *.exe
-erase *.res
-erase *.map
-erase *.sbr
-erase *.pdb
File diff suppressed because it is too large Load Diff
+105
View File
@@ -0,0 +1,105 @@
# Microsoft Developer Studio Project File - Name="makeproj" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=makeproj - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "makeproj.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "makeproj.mak" CFG="makeproj - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "makeproj - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "makeproj - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "makeproj - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
!ELSEIF "$(CFG)" == "makeproj - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir ""
# PROP Intermediate_Dir ""
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
!ENDIF
# Begin Target
# Name "makeproj - Win32 Release"
# Name "makeproj - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\makeproj.cpp
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project
+29
View File
@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "makeproj"=.\makeproj.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
BIN
View File
Binary file not shown.
+67
View File
@@ -0,0 +1,67 @@
/////////////////////////////////////////////////////////////////////////////
// Name: makeproj.h
// Purpose: Generate sample VC++ project files
// Author: Julian Smart
// Modified by:
// Created: 10/12/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#pragma interface "makeproj.h"
#endif
#ifndef _MAKEPROJ_H_
#define _MAKEPROJ_H_
class wxProject: public wxObject
{
public:
wxProject();
~wxProject();
bool GenerateVCProject();
void SetProjectName(const wxString& projectName) { m_projectName = projectName; }
void SetTargetName(const wxString& targetName) { m_targetName = targetName; }
void SetProjectPath(const wxString& path) { m_path = path; }
void SetSourceFiles(const wxStringList& sources) { m_sourceFiles = sources; }
// void SetHeaders(const wxStringList& headers) { m_headerFiles = headers; }
void SetIncludeDirs(const wxStringList& dirs) { m_includeDirs = dirs; }
void SetResourceIncludeDirs(const wxStringList& dirs) { m_resourceIncludeDirs = dirs; }
void SetLibDirs(const wxStringList& dirs) { m_libDirs = dirs; }
void SetDebugLibDirs(const wxStringList& dirs) { m_debugLibDirs = dirs; }
void SetReleaseLibDirs(const wxStringList& dirs) { m_releaseLibDirs = dirs; }
void SetExtraLibs(const wxStringList& libs) { m_extraLibs = libs; }
inline wxString GetProjectName() const { return m_projectName; }
inline wxString GetTargetName() const { return m_targetName; }
inline wxString GetPath() const { return m_path; }
inline wxStringList GetSourceFiles() const { return m_sourceFiles; }
// inline wxStringList GetHeaders() const { return m_headerFiles; }
inline wxStringList GetIncludeDirs() const { return m_includeDirs; }
inline wxStringList GetResourceIncludeDirs() const { return m_resourceIncludeDirs; }
inline wxStringList GetLibDirs() const { return m_libDirs; }
inline wxStringList GetDebugLibDirs() const { return m_debugLibDirs; }
inline wxStringList GetReleaseLibDirs() const { return m_releaseLibDirs; }
inline wxStringList GetExtraLibs() const { return m_extraLibs; }
protected:
wxString m_projectName;
wxString m_targetName;
wxString m_path;
wxStringList m_sourceFiles;
// wxStringList m_headerFiles;
wxStringList m_includeDirs;
wxStringList m_resourceIncludeDirs;
wxStringList m_libDirs;
wxStringList m_debugLibDirs;
wxStringList m_releaseLibDirs;
wxStringList m_extraLibs;
};
#endif
// _MAKEPROJ_H_
+1
View File
@@ -0,0 +1 @@
Microsoft C/C++ program database 2.00
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
ÐÏࡱ
+1
View File
@@ -0,0 +1 @@
Microsoft C/C++ program database 2.00
+6
View File
@@ -0,0 +1,6 @@
mondrian ICON "mondrian.ico"
#include "wx/msw/wx.rc"
#define MINIMAL_QUIT 1
#define MINIMAL_ABOUT 102
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

+296
View File
@@ -0,0 +1,296 @@
/////////////////////////////////////////////////////////////////////////////
// Name: projgen.h
// Purpose: Project generator classes.
// Author: Julian Smart
// Modified by:
// Created: 04/12/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/*
Description
-----------
The top-level object is wxProjectDatabase, which maintains a list of wxProjectGenerator
objects. Each wxProjectGenerator object contains a list of wxGeneratorConfiguration objects,
and each of these in turn stores a list of variants which represent compiler-specific options in that
configuration. wxProjectDatabase also stores a list of generic options (again variants),
which may cause compiler-specific options to be stored in configurations.
The usage is like this. The IDE (or other calling application) adds a number of project generators
at initialization, one for each kind of compiler. For a new project, the app should call InitializeGenerators
in order to call OnInitializeDefaults for each generator, which will call back into the wxProjectDatabase
to get user-settable defaults.
The app can then set generic options. When a generic option (such as 'use debug info')
is set for a particular configuration, all generator objects are notified via OnSetGenericOption and they
translate the generic option into a specific one (for that configuration).
The wxProjectDatabase object can also be used to set compiler-specific options directly if required,
but normally this would not be required. Each wxProjectGenerator should also have the opportunity
to set initial defaults. These defaults should be editable by the user.
Each wxProjectGenerator can access the parent wxProjectDatabase object at any time, since it
may need to make a judgement about several generic settings in order to know what specific
compiler options should be set.
TODO: make a list of generic compiler options that each generator should recognise.
*/
#ifndef _PROJGEN_H_
#define _PROJGEN_H_
#ifdef __GNUG__
#pragma interface "projgen.h"
#endif
#include "wx/defs.h"
#include "wx/string.h"
#include "wx/hash.h"
#include "wx/variant.h"
typedef enum {
wxPROJECT_CAP_NONE = 0,
wxPROJECT_CAP_MAKEFILE = 1,
wxPROJECT_CAP_PROJECT = 2,
} wxProjectCapability;
class wxProjectGenerator;
class wxGeneratorConfiguration;
/*
* wxProjectDatabase
* This class maintains a list to all wxProjectGenerator objects, one for
* each compiler.
* Setting a generic option in wxProjectDatabase causes the individual wxProjectGenerator
* objects to set their compiler-specific options for later generation.
*/
class wxProjectDatabase: public wxObject
{
DECLARE_CLASS(wxProjectDatabase)
public:
wxProjectDatabase();
~wxProjectDatabase();
// Operations
// Generate project or makefile for a named compiler. Give an optional compiler version.
virtual bool GenerateProject(const wxString& compiler, const wxString& filename, bool isMakefile, int compilerVersion = 0);
// This calls each wxProjectGenerator's OnInitializeDefaults function to fill out the
// defaults for each configuration. The generators will probably call back into the wxProjectDatabase
// to get the defaults from a file (see GetDefaultCompilerOptions below).
virtual bool InitializeGenerators();
// Accessors
// Get the capability: can it generate projects, or makefiles, or neither?
virtual wxProjectCapability GetCapability(const wxString& compiler) const ;
// Override this for your app so that when the wxProjectGenerator initializes its defaults, it
// can call this to get specific option values that may be setup by the user.
virtual wxVariant GetDefaultCompilerOption(const wxString& compiler, const wxString& config, const wxString& option) const ;
// Gets all the default options for the named compiler/config. Likewise, override this to provide
// a list of defaults to the calling wxProjectGenerator.
virtual wxStringList GetDefaultCompilerOptionList(const wxString& compiler, const wxString& config) const ;
// Compiler/configuration-specific options
// Get a compiler-specific option value from the name.
virtual wxVariant GetCompilerOption(const wxString& compiler, const wxString& config, const wxString& name) const;
// Set the compiler-specific option
virtual void SetCompilerOption(const wxString& compiler, const wxString& config, const wxString& name, const wxVariant& value);
// Removes the compiler-specific option
virtual void RemoveCompilerOption(const wxString& compiler, const wxString& config, const wxString& name);
// Does this option exist?
virtual bool HasCompilerOption(const wxString& compiler, const wxString& config, const wxString& name) const;
// Generic options
// Get a generic option value from the name.
virtual wxVariant GetGenericOption(const wxString& config, const wxString& name) const;
// Set the generic option value. This calls SetGenericOption for each wxProjectGenerator,
// which will cause compiler-specific values to be placed in the relevant config
virtual void SetGenericOption(const wxString& config, const wxString& name, const wxVariant& value);
// Removes the generic option.
virtual void RemoveGenericOption(const wxString& config, const wxString& name);
// Does this option exist?
virtual bool HasGenericOption(const wxString& config, const wxString& name) const;
// Project path
inline void SetProjectPath(const wxString& path) { m_projectPath = path; };
inline wxString GetProjectPath() const { return m_projectPath; };
// Project name
inline void SetProjectName(const wxString& name) { m_projectName = name; };
inline wxString GetProjectName() const { return m_projectName; };
// The source files in the project
// Add a file to the project. Normally this will be relative to the project path.
// TODO: Files are managed within the wxProjectDatabase, but what about extra files
// for specific platforms? Well, let's assume that even on Unix, you'd create a .rc
// file, even if this isn't used in the resulting project/makefile on Unix.
virtual void AddFile(const wxString& filename);
virtual void RemoveFile(const wxString& filename);
virtual bool FileExists(const wxString& filename) const;
// TODO: management of include paths, library paths, libraries
// Generator management
virtual void AddGenerator(wxProjectGenerator* generator) ;
virtual void RemoveGenerator(wxProjectGenerator* generator) ; // Doesn't delete it, just removes it
virtual wxProjectGenerator* FindGenerator(const wxString& compiler) const ;
virtual void ClearGenerators();
protected:
// List of wxProjectGenerator objects
wxList m_generators;
// List of compiler-independent configurations, such as "debug".
wxList m_genericConfigurations;
// List of source files
wxStringList m_sourceFiles;
// List of library paths
wxStringList m_libraryPaths;
// List of libraries: TODO this should be compiler-specific, surely?
wxStringList m_libraries;
// List of include paths
wxStringList m_includePaths;
// Project path
wxString m_projectPath;
// Project name
wxString m_projectName;
};
/*
* wxGeneratorConfiguration
* A configuration, e.g. "debug", "release"
*/
class wxGeneratorConfiguration: public wxObject
{
DECLARE_CLASS(wxGeneratorConfiguration)
public:
wxGeneratorConfiguration(const wxString& name);
~wxGeneratorConfiguration();
// Does this option exist?
virtual bool HasOption(const wxString& name) const;
// Find option: returns NULL if there is no such option.
wxVariant* FindOption(const wxString& name) const;
// Get an option value
virtual wxVariant GetOption(const wxString& name) const;
// Set the option
virtual void SetOption(const wxString& name, const wxVariant& value);
// Remove the option
virtual void RemoveOption(const wxString& name);
// Does this option exist?
virtual bool HasOption(const wxString& name) const;
// Get the list of options
inline const wxList& GetOptions() const { return m_options; }
inline void SetName(const wxString& name) { m_name = name; }
inline wxString GetName() const { return m_name; }
protected:
// Configuration name
wxString m_name;
// List of wxVariants
wxList m_options;
};
/*
* wxProjectGenerator.
* Only derived classes can be instantiated.
*/
class wxProjectGenerator: public wxObject
{
DECLARE_CLASS(wxProjectGenerator)
public:
wxProjectGenerator(const wxString& name, wxProjectDatabase* topLevel);
~wxProjectGenerator();
// Operations
// Generate project or makefile. Give an optional compiler version.
virtual bool GenerateProject(bool isMakefile, int compilerVersion = 0) = 0;
// Called when the defaults should be initialized.
// It would recognise e.g. the "Debug" configuration name and set specific defaults, possibly
// reading them from a database to allow for tailoring.
// It is likely to call wxProjectDatabase::GetDefaultCompilerOption.
virtual bool OnInitializeDefaults(const wxString& config) = 0;
// This is called by wxProjectDatabase::SetGenericOption, and it tells this object
// to translate it to a specific option. Then this object will (probably) call SetOption.
virtual bool OnSetGenericOption(const wxString& config, const wxString& name, const wxVariant& value) = 0;
// Accessors
// Get the capability: can it generate projects, or makefiles, or neither?
virtual wxProjectCapability GetCapability() const = 0;
// Name
inline void SetName(const wxString& name) { m_name = name; }
inline wxString GetName() const { return m_name; }
// Top-level wxProjectDatabase object
inline void SetTopLevel(wxProjectDatabase* topLevel) { m_topLevel = topLevel; }
inline wxProjectDatabase* GetTopLevel() const { return m_topLevel; }
// Options
// Get an option value
virtual wxVariant GetOption(const wxString& config, const wxString& name) const;
// Set the option
virtual void SetOption(const wxString& config, const wxString& name, const wxVariant& value);
// Remove the option
virtual void RemoveOption(const wxString& config, const wxString& name);
// Does this option exist?
virtual bool HasOption(const wxString& name) const;
// Get the list of options
inline const wxList& GetConfigurations() const { return m_configs; }
// Configuration management
wxGeneratorConfiguation* FindConfiguration(const wxString& config) const ;
void AddConfiguration(wxGeneratorConfiguration* config) ;
void RemoveConfiguration(wxGeneratorConfiguration* config) ;
void ClearConfigurations() ;
protected:
// List of wxGeneratorConfiguration objects
wxList m_configs;
// Compiler name
wxString m_name;
// Top-level object
wxProjectDatabase* m_topLevel;
};
#endif
// projgen.h
+27
View File
@@ -0,0 +1,27 @@
/*
* projgenrc.h
* Window identifiers file written by Dialog Editor
*/
#define ID_PROJECT_NAME 105
#define ID_PROJECT_PATH 101
#define ID_INCLUDE_PATHS 6006
#define ID_LIBRARY_PATHS 6012
#define ID_PROJECT_DIALOG 100
#define ID_PROJECT_TARGET 6003
#define ID_EXTRA_LIBRARIES 6019
#define ID_GENERATE_SAMPLES 6021
#define ID_GENERATE_PROJECT 6020
#define ID_DEBUG_LIBRARY_PATHS 6013
#define ID_STATIC102 102
#define ID_STATIC104 104
#define ID_RELEASE_LIBRARY_PATHS 6017
#define ID_STATIC6002 6002
#define ID_STATIC6011 6011
#define ID_STATIC6005 6005
#define ID_STATIC6015 6015
#define ID_STATIC6007 6007
#define ID_STATIC6016 6016
#define ID_STATIC6009 6009
#define ID_STATIC6018 6018
#define ID_RESOURCE_INCLUDE_PATHS 6010
+56
View File
@@ -0,0 +1,56 @@
static char *project_dialog = "dialog(name = 'project_dialog',\
style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
title = 'VC++ Project Generation',\
id = 100,\
x = 10, y = 10, width = 269, height = 186,\
background_colour = 'C0C0C0',\
use_dialog_units = 1,\
use_system_defaults = 0,\
font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif'],\
control = [101, wxTextCtrl, '', '0', 'textctrl2', 136, 18, 120, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [102, wxStaticText, 'Project path:', '0', 'statictext3', 136, 9, 112, 9, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [104, wxStaticText, 'Project name:', '0', 'static1234', 8, 9, 58, 9, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [105, wxTextCtrl, '', '0', 'textctrl6', 9, 18, 60, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6002, wxStaticText, 'Project target:', '0', 'statictext6', 72, 8, 56, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6003, wxTextCtrl, '', '0', 'textctrl7', 72, 18, 60, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6005, wxStaticText, 'Source files:', '0', 'statictext9', 8, 34, 248, 6, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6006, wxTextCtrl, '', '0', 'textctrl10', 8, 44, 249, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6007, wxStaticText, 'Include paths:', '0', 'statictext11', 8, 60, 116, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6006, wxTextCtrl, '', '0', 'textctrl12', 8, 71, 128, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6009, wxStaticText, 'Resource include paths:', '0', 'statictext13', 140, 61, 104, 12, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6010, wxTextCtrl, '', '0', 'textctrl14', 140, 71, 116, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6011, wxStaticText, 'Library paths:', '0', 'statictext15', 9, 87, 246, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6012, wxTextCtrl, '', '0', 'textctrl16', 8, 98, 248, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6013, wxTextCtrl, '', '0', 'textctrl17', 8, 121, 122, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6015, wxStaticText, 'Debug library paths:', '0', 'statictext19', 8, 112, 117, 9, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6016, wxStaticText, 'Release library paths:', '0', 'statictext20', 137, 112, 120, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6017, wxTextCtrl, '', '0', 'textctrl21', 136, 121, 120, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6018, wxStaticText, 'Extra libraries:', '0', 'statictext22', 8, 139, 240, 10, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6019, wxTextCtrl, '', '0', 'textctrl23', 8, 147, 248, 11, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6020, wxButton, 'Generate project', '0', 'button24', 8, 165, 65, 13, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [5006, wxButton, 'Close', '0', 'button25', 73, 165, 64, 13, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
control = [6021, wxButton, 'Generate wxWin samples...', '0', 'button26', 172, 165, 84, 13, '',\
[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']]).";
+11
View File
@@ -0,0 +1,11 @@
About ProjGen
ProjGen generates VC++ 5 project files (convertible to VC++ 6) for the standard wxWindows
samples. These can be used with wxvc.dsp, wxvc6.dsp, wxvc_dll.
dsp. It can't generate library project files, yet.
I started to write code and a UI to allow the user to generate
his own project files, but this is currently unfinished. It
shouldn't be hard to complete, though.
Julian Smart, October 1999