Code::Blocks  SVN r11506
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CompilerOWGenerator Class Reference

#include <compilerOWgenerator.h>

Inheritance diagram for CompilerOWGenerator:
Collaboration diagram for CompilerOWGenerator:

Public Member Functions

 CompilerOWGenerator ()
 
virtual ~CompilerOWGenerator ()
 
virtual wxString SetupLibrariesDirs (Compiler *compiler, ProjectBuildTarget *target)
 Setup linker include dirs 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...
 
- 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 &macro, 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 wxArrayStringGetCompilerSearchDirs (ProjectBuildTarget *target)
 Get the full include dirs used in the actual command line. More...
 
virtual const wxArrayStringGetLinkerSearchDirs (ProjectBuildTarget *target)
 Get the full linker dirs used in the actual command line. More...
 

Private Member Functions

wxString MapTargetType (const wxString &Opt, int target_type)
 
wxString MapDebugOptions (const wxString &Opt)
 
void MapDebuggerOptions (const wxString &Opt)
 

Private Attributes

wxString m_DebuggerType
 

Additional Inherited Members

- 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 SetupIncludeDirs (Compiler *compiler, ProjectBuildTarget *target)
 Setup compiler 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 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)
 
- 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...
 

Detailed Description

Definition at line 13 of file compilerOWgenerator.h.

Constructor & Destructor Documentation

◆ CompilerOWGenerator()

CompilerOWGenerator::CompilerOWGenerator ( )

Definition at line 22 of file compilerOWgenerator.cpp.

References m_DebuggerType, and wxEmptyString.

◆ ~CompilerOWGenerator()

CompilerOWGenerator::~CompilerOWGenerator ( )
virtual

Definition at line 28 of file compilerOWgenerator.cpp.

Member Function Documentation

◆ MapDebuggerOptions()

void CompilerOWGenerator::MapDebuggerOptions ( const wxString Opt)
private

Definition at line 259 of file compilerOWgenerator.cpp.

References _T, wxString::IsSameAs(), m_DebuggerType, and wxEmptyString.

Referenced by SetupLinkerOptions().

◆ MapDebugOptions()

wxString CompilerOWGenerator::MapDebugOptions ( const wxString Opt)
private

Definition at line 241 of file compilerOWgenerator.cpp.

References _T, wxString::IsSameAs(), m_DebuggerType, and wxEmptyString.

Referenced by SetupLinkerOptions().

◆ MapTargetType()

wxString CompilerOWGenerator::MapTargetType ( const wxString Opt,
int  target_type 
)
private

◆ SetupLibrariesDirs()

wxString CompilerOWGenerator::SetupLibrariesDirs ( Compiler compiler,
ProjectBuildTarget target 
)
virtual

◆ SetupLinkerOptions()

wxString CompilerOWGenerator::SetupLinkerOptions ( Compiler compiler,
ProjectBuildTarget target 
)
virtual

◆ SetupLinkLibraries()

wxString CompilerOWGenerator::SetupLinkLibraries ( Compiler compiler,
ProjectBuildTarget target 
)
virtual

Member Data Documentation

◆ m_DebuggerType

wxString CompilerOWGenerator::m_DebuggerType
private

Definition at line 32 of file compilerOWgenerator.h.

Referenced by CompilerOWGenerator(), MapDebuggerOptions(), and MapDebugOptions().


The documentation for this class was generated from the following files: