Code::Blocks  SVN r11506
compilerOWgenerator.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3  * http://www.gnu.org/licenses/gpl-3.0.html
4  */
5 
6 #ifndef COMPILEROWGENERATOR_H
7 #define COMPILEROWGENERATOR_H
8 
10 
11 //Overridden to fix OpenWatcom Linking Problem (@Biplab)
12 
14 {
15  public:
17  virtual ~CompilerOWGenerator();
18  virtual wxString SetupLibrariesDirs(Compiler* compiler, ProjectBuildTarget* target);
19  virtual wxString SetupLinkerOptions(Compiler* compiler, ProjectBuildTarget* target);
20  virtual wxString SetupLinkLibraries(Compiler* compiler, ProjectBuildTarget* target);
21  protected:
22  private:
23  // This maps target type to wlink.exe options
24  wxString MapTargetType(const wxString& Opt, int target_type);
25  // This maps debug related compiler options to wlink.exe options
26  wxString MapDebugOptions(const wxString& Opt);
27  // Open Watcom supports: Watcom debugger, Dwarf (default), CodeView
28  void MapDebuggerOptions(const wxString& Opt);
29 
30  private:
31  // Debugger name which will later be used in MapDebugOptions
33 };
34 
35 
36 
37 #endif // COMPILEROWGENERATOR_H
Generate command-lines needed to produce a build.
wxString MapDebugOptions(const wxString &Opt)
virtual wxString SetupLinkerOptions(Compiler *compiler, ProjectBuildTarget *target)
Setup linker flags for build target.
void MapDebuggerOptions(const wxString &Opt)
virtual wxString SetupLibrariesDirs(Compiler *compiler, ProjectBuildTarget *target)
Setup linker include dirs for build target.
Abstract base class for compilers.
Definition: compiler.h:274
Represents a Code::Blocks project build target.
virtual wxString SetupLinkLibraries(Compiler *compiler, ProjectBuildTarget *target)
Setup link libraries for build target.
wxString MapTargetType(const wxString &Opt, int target_type)