Code::Blocks  SVN r11506
compilerMINGW.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 COMPILER_MINGW_H
7 #define COMPILER_MINGW_H
8 
9 #include <wx/intl.h>
10 #include <compiler.h>
11 
12 class CompilerMINGW : public Compiler
13 {
14  public:
15  // added arguments to ctor so we can derive other gcc-flavours directly
16  // from MinGW (e.g. the cygwin compiler is derived from this one).
17  CompilerMINGW(const wxString& name = _("GNU GCC Compiler"), const wxString& ID = _T("gcc"));
18  virtual ~CompilerMINGW();
21  protected:
22  virtual Compiler* CreateCopy();
23  virtual void SetVersionString();
24  private:
25 };
26 
27 #endif // COMPILER_MINGW_H
virtual AutoDetectResult AutoDetectInstallationDir()
Try to auto-detect the compiler&#39;s installation directory.
Generate command-lines needed to produce a build.
#define _T(string)
virtual Compiler * CreateCopy()
Implement this in new compilers, to return a new copy.
AutoDetectResult
Definition: compiler.h:190
CompilerMINGW(const wxString &name=_("GNU GCC Compiler"), const wxString &ID=_T("gcc"))
virtual void SetVersionString()
Set the compiler version string.
Represents a Code::Blocks project.
Definition: cbproject.h:96
virtual ~CompilerMINGW()
const wxString & _(const wxString &string)
Definition: id.h:15
Abstract base class for compilers.
Definition: compiler.h:274
virtual CompilerCommandGenerator * GetCommandGenerator(cbProject *project)
This is to be overridden, if compiler needs to alter the default command line generation.