6 #ifndef COMPILEOPTIONSBASE_H 7 #define COMPILEOPTIONSBASE_H 34 virtual void AddPlatform(
int platform);
35 virtual void RemovePlatform(
int platform);
36 virtual void SetPlatforms(
int platforms);
37 virtual int GetPlatforms()
const;
38 virtual bool SupportsCurrentPlatform()
const;
40 virtual void SetLinkerOptions(
const wxArrayString& linkerOpts);
42 virtual void AddLinkerOption(
const wxString& option);
43 virtual void ReplaceLinkerOption(
const wxString& option,
const wxString& new_option);
44 virtual void RemoveLinkerOption(
const wxString& option);
48 virtual void AddLinkLib(
const wxString& option);
49 virtual void ReplaceLinkLib(
const wxString& option,
const wxString& new_option);
50 virtual void RemoveLinkLib(
const wxString& option);
52 virtual void SetCompilerOptions(
const wxArrayString& compilerOpts);
54 virtual void AddCompilerOption(
const wxString& option);
55 virtual void ReplaceCompilerOption(
const wxString& option,
const wxString& new_option);
56 virtual void RemoveCompilerOption(
const wxString& option);
58 virtual void SetResourceCompilerOptions(
const wxArrayString& resourceCompilerOpts);
59 virtual const wxArrayString& GetResourceCompilerOptions()
const;
60 virtual void AddResourceCompilerOption(
const wxString& option);
61 virtual void ReplaceResourceCompilerOption(
const wxString& option,
const wxString& new_option);
62 virtual void RemoveResourceCompilerOption(
const wxString& option);
64 virtual void SetIncludeDirs(
const wxArrayString& includeDirs);
66 virtual void AddIncludeDir(
const wxString& option);
67 virtual void ReplaceIncludeDir(
const wxString& option,
const wxString& new_option);
68 virtual void RemoveIncludeDir(
const wxString& option);
70 virtual void SetResourceIncludeDirs(
const wxArrayString& resIncludeDirs);
72 virtual void AddResourceIncludeDir(
const wxString& option);
73 virtual void ReplaceResourceIncludeDir(
const wxString& option,
const wxString& new_option);
74 virtual void RemoveResourceIncludeDir(
const wxString& option);
78 virtual void AddLibDir(
const wxString& option);
79 virtual void ReplaceLibDir(
const wxString& option,
const wxString& new_option);
80 virtual void RemoveLibDir(
const wxString& option);
82 virtual void SetCommandsBeforeBuild(
const wxArrayString& commands);
84 virtual void AddCommandsBeforeBuild(
const wxString& command);
85 virtual void RemoveCommandsBeforeBuild(
const wxString& command);
87 virtual void SetCommandsAfterBuild(
const wxArrayString& commands);
89 virtual void AddCommandsAfterBuild(
const wxString& command);
90 virtual void RemoveCommandsAfterBuild(
const wxString& command);
94 virtual void AddBuildScript(
const wxString& script);
95 virtual void RemoveBuildScript(
const wxString& script);
97 virtual bool GetModified()
const;
98 virtual void SetModified(
bool modified);
100 virtual bool GetAlwaysRunPostBuildSteps()
const;
101 virtual void SetAlwaysRunPostBuildSteps(
bool always);
103 virtual bool SetVar(
const wxString& key,
const wxString& value,
bool onlyIfExists =
false);
104 virtual bool UnsetVar(
const wxString& key);
105 virtual void UnsetAllVars();
106 virtual bool HasVar(
const wxString& key)
const;
108 virtual const StringHash& GetAllVars()
const;
127 #endif // COMPILEOPTIONSBASE_H
wxArrayString m_CmdsBefore
wxArrayString m_ResIncludeDirs
wxArrayString m_CompilerOptions
wxArrayString m_ResourceCompilerOptions
wxArrayString m_LinkerOptions
This is a base class for all classes needing compilation parameters.
wxArrayString m_CmdsAfter
WX_DECLARE_STRING_HASH_MAP(wxString, StringHash)
wxArrayString m_IncludeDirs