6 #ifndef COMPILETARGETBASE_H 7 #define COMPILETARGETBASE_H 113 virtual const wxString& GetFilename()
const;
114 virtual const wxString& GetTitle()
const;
115 virtual void SetTitle(
const wxString& title);
116 virtual void SetOutputFilename(
const wxString& filename);
117 virtual void SetImportLibraryFilename(
const wxString& filename);
118 virtual void SetDefinitionFileFilename(
const wxString& filename);
119 virtual void SetWorkingDir(
const wxString& dirname);
120 virtual void SetObjectOutput(
const wxString& dirname);
121 virtual void SetDepsOutput(
const wxString& dirname);
125 virtual wxString GetObjectOutput()
const;
126 virtual wxString GetDepsOutput()
const;
127 virtual wxString GetOutputFilename();
128 virtual wxString SuggestOutputFilename();
129 virtual wxString GetExecutableFilename()
const;
130 virtual wxString GetDynamicLibFilename();
131 virtual wxString GetDynamicLibImportFilename();
132 virtual wxString GetDynamicLibDefFilename();
133 virtual wxString GetStaticLibFilename();
134 virtual wxString GetNativeFilename();
135 virtual wxString GetBasePath()
const;
138 virtual const wxString& GetExecutionParameters()
const;
139 virtual void SetExecutionParameters(
const wxString& params);
140 virtual const wxString& GetHostApplication()
const;
141 virtual void SetHostApplication(
const wxString& app);
142 virtual bool GetRunHostApplicationInTerminal()
const;
143 virtual void SetRunHostApplicationInTerminal(
bool in_terminal);
144 virtual void SetCompilerID(
const wxString&
id);
174 #endif // COMPILETARGETBASE_H
TargetFilenameGenerationPolicy
A target's filename can either be auto-generated based on the running platform, or completely specifi...
wxString m_MakeCommands[mcLast]
Linker include dir option.
void GenerateTargetFilename(wxString &filename) const
The option uses parent options only.
The option uses target options appended to parent options.
TargetFilenameGenerationPolicy m_PrefixGenerationPolicy
Target produces an executable.
wxString m_ImportLibraryFilename
wxString m_DefinitionFileFilename
wxString m_ExecutionParameters
TargetFilenameGenerationPolicy m_ExtensionGenerationPolicy
virtual bool MakeCommandsModified() const
True if any of the "make" commands is modified.
Don't use this. It's only used internally for enumerations...
wxString m_OutputFilename
bool m_RunHostApplicationInTerminal
Represents a Code::Blocks project.
virtual wxString GetMakeCommandFor(MakeCommand cmd) const
Get the "make" command used for cmd.
Resource compiler include dir option.
Target produces a dynamic library.
OptionsRelation
Option's relation.
The option uses parent options appended to target options.
Target produces a native binary.
Compiler include dir option.
This is a base class for all classes needing compilation parameters.
OptionsRelation m_OptionsRelation[ortLast]
No automatic generation; let the user specify the full filename.
Target produces a static library.
virtual const wxString & GetCompilerID() const
Read the target's compiler.
Target produces a console executable (without GUI) (distinction between ttExecutable and ttConsoleOnl...
bool m_MakeCommandsModified
wxString m_HostApplication
The option uses target options only.
TargetType
Enum to define the type of output the target produces.
OptionsRelationType
Enum that defines the option's relation types.
Base class for build target classes Each Code::Blocks project consists of at least one target...
Target only runs commands in pre-build and/or post-build steps.