1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Generate sample VC++ project files
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma interface "makeproj.h"
19 class wxProject
: public wxObject
25 bool GenerateVCProject();
27 void SetProjectName(const wxString
& projectName
) { m_projectName
= projectName
; }
28 void SetTargetName(const wxString
& targetName
) { m_targetName
= targetName
; }
29 void SetProjectPath(const wxString
& path
) { m_path
= path
; }
30 void SetSourceFiles(const wxStringList
& sources
) { m_sourceFiles
= sources
; }
31 // void SetHeaders(const wxStringList& headers) { m_headerFiles = headers; }
32 void SetIncludeDirs(const wxStringList
& dirs
) { m_includeDirs
= dirs
; }
33 void SetResourceIncludeDirs(const wxStringList
& dirs
) { m_resourceIncludeDirs
= dirs
; }
34 void SetLibDirs(const wxStringList
& dirs
) { m_libDirs
= dirs
; }
35 void SetDebugLibDirs(const wxStringList
& dirs
) { m_debugLibDirs
= dirs
; }
36 void SetReleaseLibDirs(const wxStringList
& dirs
) { m_releaseLibDirs
= dirs
; }
37 void SetExtraLibs(const wxStringList
& libs
) { m_extraLibs
= libs
; }
39 inline wxString
GetProjectName() const { return m_projectName
; }
40 inline wxString
GetTargetName() const { return m_targetName
; }
41 inline wxString
GetPath() const { return m_path
; }
42 inline wxStringList
GetSourceFiles() const { return m_sourceFiles
; }
43 // inline wxStringList GetHeaders() const { return m_headerFiles; }
44 inline wxStringList
GetIncludeDirs() const { return m_includeDirs
; }
45 inline wxStringList
GetResourceIncludeDirs() const { return m_resourceIncludeDirs
; }
46 inline wxStringList
GetLibDirs() const { return m_libDirs
; }
47 inline wxStringList
GetDebugLibDirs() const { return m_debugLibDirs
; }
48 inline wxStringList
GetReleaseLibDirs() const { return m_releaseLibDirs
; }
49 inline wxStringList
GetExtraLibs() const { return m_extraLibs
; }
52 wxString m_projectName
;
53 wxString m_targetName
;
55 wxStringList m_sourceFiles
;
56 // wxStringList m_headerFiles;
57 wxStringList m_includeDirs
;
58 wxStringList m_resourceIncludeDirs
;
59 wxStringList m_libDirs
;
60 wxStringList m_debugLibDirs
;
61 wxStringList m_releaseLibDirs
;
62 wxStringList m_extraLibs
;