Code::Blocks
SVN r11506
|
#include <compilerMINGWgenerator.h>
Public Member Functions | |
CompilerMINGWGenerator () | |
virtual | ~CompilerMINGWGenerator () |
Public Member Functions inherited from CompilerCommandGenerator | |
CompilerCommandGenerator () | |
virtual | ~CompilerCommandGenerator () |
virtual void | Init (cbProject *project) |
Initialize for use with the specified project . More... | |
virtual void | GenerateCommandLine (wxString ¯o, ProjectBuildTarget *target, ProjectFile *pf, const wxString &file, const wxString &object, const wxString &flat_object, const wxString &deps) |
Get the command line to compile/link the specific file. More... | |
virtual const wxArrayString & | GetCompilerSearchDirs (ProjectBuildTarget *target) |
Get the full include dirs used in the actual command line. More... | |
virtual const wxArrayString & | GetLinkerSearchDirs (ProjectBuildTarget *target) |
Get the full linker dirs used in the actual command line. More... | |
Protected Member Functions | |
virtual wxString | SetupIncludeDirs (Compiler *compiler, ProjectBuildTarget *target) |
Setup compiler include dirs for build target. More... | |
Protected Member Functions inherited from CompilerCommandGenerator | |
virtual void | DoBuildScripts (cbProject *project, CompileTargetBase *target, const wxString &funcName) |
Apply pre-build scripts for base . More... | |
virtual wxString | GetOrderedOptions (const ProjectBuildTarget *target, OptionsRelationType rel, const wxString &project_options, const wxString &target_options) |
Arrange order of options. More... | |
virtual wxArrayString | GetOrderedOptions (const ProjectBuildTarget *target, OptionsRelationType rel, const wxArrayString &project_options, const wxArrayString &target_options) |
Arrange order of options. More... | |
virtual wxArrayString | GetOrderedIncludeDirs (Compiler *compiler, ProjectBuildTarget *target) |
virtual wxArrayString | GetOrderedLibrariesDirs (Compiler *compiler, ProjectBuildTarget *target) |
virtual wxArrayString | GetOrderedResourceIncludeDirs (Compiler *compiler, ProjectBuildTarget *target) |
virtual wxString | SetupOutputFilenames (Compiler *compiler, ProjectBuildTarget *target) |
Setup output filename for build target. More... | |
virtual wxString | SetupLibrariesDirs (Compiler *compiler, ProjectBuildTarget *target) |
Setup linker include dirs for build target. More... | |
virtual wxString | SetupResourceIncludeDirs (Compiler *compiler, ProjectBuildTarget *target) |
Setup resource compiler include dirs for build target. More... | |
virtual wxString | SetupCompilerOptions (Compiler *compiler, ProjectBuildTarget *target) |
Setup compiler flags for build target. More... | |
virtual wxString | SetupLinkerOptions (Compiler *compiler, ProjectBuildTarget *target) |
Setup linker flags for build target. More... | |
virtual wxString | SetupLinkLibraries (Compiler *compiler, ProjectBuildTarget *target) |
Setup link libraries for build target. More... | |
virtual wxString | SetupResourceCompilerOptions (Compiler *compiler, ProjectBuildTarget *target) |
Setup resource compiler flags for build target. More... | |
virtual wxString | FixupLinkLibraries (Compiler *compiler, const wxString &lib) |
Fix library name based on advanced compiler settings. More... | |
virtual void | FixPathSeparators (Compiler *compiler, wxString &inAndOut) |
Private Attributes | |
wxString | m_VerStr |
Additional Inherited Members | |
Static Protected Member Functions inherited from CompilerCommandGenerator | |
static wxString | MakeOptString (const wxArrayString &arr, const wxString &opt, wxChar separator=_T(' ')) |
static wxString | PathSearch (const wxArrayString &arr, const wxString &filename) |
Protected Attributes inherited from CompilerCommandGenerator | |
OptionsMap | m_Output |
output filenames, per-target More... | |
OptionsMap | m_StaticOutput |
static output filenames, per-target More... | |
OptionsMap | m_DefOutput |
def output filenames, per-target More... | |
OptionsMap | m_Inc |
compiler 'include' dirs, per-target More... | |
OptionsMap | m_Lib |
linker 'include' dirs, per-target More... | |
OptionsMap | m_RC |
resource compiler 'include' dirs, per-target More... | |
OptionsMap | m_CFlags |
compiler flags, per-target More... | |
OptionsMap | m_RCFlags |
resource compiler flags, per-target More... | |
OptionsMap | m_LDFlags |
linker flags, per-target More... | |
OptionsMap | m_LDAdd |
link libraries, per-target More... | |
wxString | m_PrjIncPath |
directive to add the project's top-level path in compiler search dirs (ready for the command line) More... | |
SearchDirsMap | m_CompilerSearchDirs |
array of final compiler search dirs, per-target More... | |
SearchDirsMap | m_LinkerSearchDirs |
array of final linker search dirs, per-target More... | |
Definition at line 12 of file compilerMINGWgenerator.h.
CompilerMINGWGenerator::CompilerMINGWGenerator | ( | ) |
Definition at line 23 of file compilerMINGWgenerator.cpp.
References m_VerStr, and wxEmptyString.
|
virtual |
Definition at line 29 of file compilerMINGWgenerator.cpp.
|
protectedvirtual |
Setup compiler include dirs for build target.
Reimplemented from CompilerCommandGenerator.
Definition at line 34 of file compilerMINGWgenerator.cpp.
References _T, wxArrayString::Add(), wxString::BeforeFirst(), FileTypeOf(), ftHeader, wxArrayString::GetCount(), cbProject::GetFilesList(), cbProject::GetModeForPCH(), CompileTargetBase::GetObjectOutput(), ProjectBuildTarget::GetParentProject(), Compiler::GetSwitches(), Compiler::GetVersionString(), CompilerSwitches::includeDirs, wxArrayString::Index(), wxString::IsEmpty(), m_VerStr, pchObjectDir, wxString::Prepend(), QuoteStringIfNeeded(), HTMLTags::sep, CompilerCommandGenerator::SetupIncludeDirs(), wxString::ToLong(), CompilerSwitches::UseFlatObjects, wxEmptyString, and wxNOT_FOUND.
|
private |
Definition at line 20 of file compilerMINGWgenerator.h.
Referenced by CompilerMINGWGenerator(), and SetupIncludeDirs().