Code::Blocks
SVN r11506
|
Abstract base class for compilers. More...
#include <compiler.h>
Classes | |
struct | MirrorSettings |
Public Member Functions | |
Compiler (const wxString &name, const wxString &ID, const wxString &parentID=wxEmptyString, int weight=50) | |
~Compiler () override | |
virtual bool | IsValid () |
Check if the compiler is actually valid (installed). More... | |
virtual CompilerLineType | CheckForWarningsAndErrors (const wxString &line) |
Check if the supplied string is a compiler warning/error. More... | |
virtual wxString | GetLastErrorFilename () |
Returns warning/error filename. More... | |
virtual wxString | GetLastErrorLine () |
Returns warning/error line number (as a string). More... | |
virtual wxString | GetLastError () |
Returns warning/error actual string. More... | |
virtual const wxString & | GetName () const |
Get the compiler's name. More... | |
virtual const wxString & | GetMasterPath () const |
Get the compiler's master path (must contain "bin", "include" and "lib") More... | |
virtual const wxArrayString & | GetExtraPaths () const |
Get the compiler's extra paths. More... | |
virtual const CompilerPrograms & | GetPrograms () const |
Get the compiler's programs. More... | |
virtual const CompilerSwitches & | GetSwitches () const |
Get the compiler's generic switches. More... | |
virtual const CompilerOptions & | GetOptions () const |
Get the compiler's options. More... | |
virtual const wxString & | GetCommand (CommandType ct, const wxString &fileExtension=wxEmptyString) const |
Get a command based on CommandType. More... | |
virtual const CompilerTool * | GetCompilerTool (CommandType ct, const wxString &fileExtension=wxEmptyString) const |
Get a compiler tool based on CommandType. More... | |
virtual CompilerToolsVector & | GetCommandToolsVector (CommandType ct) |
Get a command tool vector based on CommandType (used by advanced compiler dialog) More... | |
virtual const RegExArray & | GetRegExArray () |
Get the array of regexes used in errors/warnings recognition. More... | |
virtual void | LoadDefaultRegExArray (bool globalPrecedence=false) |
Load the default (preset) array of regexes used in errors/warnings recognition. More... | |
virtual void | SetName (const wxString &name) |
Set the compiler's name. More... | |
virtual void | SetMasterPath (const wxString &path) |
Set the compiler's master path (must contain "bin", "include" and "lib") More... | |
virtual void | SetExtraPaths (const wxArrayString &paths) |
Set the compiler's extra paths. More... | |
virtual void | SetPrograms (const CompilerPrograms &programs) |
Set the compiler's programs. More... | |
virtual void | SetSwitches (const CompilerSwitches &switches) |
Set the compiler's generic switches. More... | |
virtual void | SetOptions (const CompilerOptions &options) |
Set the compiler's options. More... | |
virtual void | SetRegExArray (const RegExArray ®exes) |
Set the array of regexes used in errors/warnings recognition. More... | |
virtual void | SaveSettings (const wxString &baseKey) |
Save settings. More... | |
virtual void | LoadSettings (const wxString &baseKey) |
Load settings. More... | |
virtual void | Reset () |
Reset settings to defaults. More... | |
virtual void | ReloadOptions () |
Reload option flags (for copied compilers). More... | |
virtual AutoDetectResult | AutoDetectInstallationDir ()=0 |
Try to auto-detect the compiler's installation directory. More... | |
const wxString & | GetID () const |
Get this compiler's unique ID. More... | |
const wxString & | GetParentID () const |
Get this compiler's parent's unique ID. More... | |
virtual void | SetVersionString () |
Set the compiler version string. More... | |
const wxString | GetVersionString () const |
Get the compiler version string. More... | |
virtual CompilerCommandGenerator * | GetCommandGenerator (cbProject *project) |
This is to be overridden, if compiler needs to alter the default command line generation. More... | |
void | SetCOnlyFlags (const wxString &flags) |
void | SetCPPOnlyFlags (const wxString &flags) |
const wxString & | GetCOnlyFlags () |
const wxString & | GetCPPOnlyFlags () |
bool | WithMultiLineMsg () |
Do compiler writes multi-line messages? More... | |
wxString | MakeInvalidCompilerMessages () const |
Returns messages which might be useful to the use for debugging why the compiler is invalid. More... | |
Public Member Functions inherited from CompileOptionsBase | |
CompileOptionsBase () | |
virtual | ~CompileOptionsBase () |
virtual void | AddPlatform (int platform) |
virtual void | RemovePlatform (int platform) |
virtual void | SetPlatforms (int platforms) |
virtual int | GetPlatforms () const |
virtual bool | SupportsCurrentPlatform () const |
virtual void | SetLinkerOptions (const wxArrayString &linkerOpts) |
virtual const wxArrayString & | GetLinkerOptions () const |
virtual void | AddLinkerOption (const wxString &option) |
virtual void | ReplaceLinkerOption (const wxString &option, const wxString &new_option) |
virtual void | RemoveLinkerOption (const wxString &option) |
virtual void | SetLinkLibs (const wxArrayString &linkLibs) |
virtual const wxArrayString & | GetLinkLibs () const |
virtual void | AddLinkLib (const wxString &option) |
virtual void | ReplaceLinkLib (const wxString &option, const wxString &new_option) |
virtual void | RemoveLinkLib (const wxString &option) |
virtual void | SetCompilerOptions (const wxArrayString &compilerOpts) |
virtual const wxArrayString & | GetCompilerOptions () const |
virtual void | AddCompilerOption (const wxString &option) |
virtual void | ReplaceCompilerOption (const wxString &option, const wxString &new_option) |
virtual void | RemoveCompilerOption (const wxString &option) |
virtual void | SetResourceCompilerOptions (const wxArrayString &resourceCompilerOpts) |
virtual const wxArrayString & | GetResourceCompilerOptions () const |
virtual void | AddResourceCompilerOption (const wxString &option) |
virtual void | ReplaceResourceCompilerOption (const wxString &option, const wxString &new_option) |
virtual void | RemoveResourceCompilerOption (const wxString &option) |
virtual void | SetIncludeDirs (const wxArrayString &includeDirs) |
virtual const wxArrayString & | GetIncludeDirs () const |
virtual void | AddIncludeDir (const wxString &option) |
virtual void | ReplaceIncludeDir (const wxString &option, const wxString &new_option) |
virtual void | RemoveIncludeDir (const wxString &option) |
virtual void | SetResourceIncludeDirs (const wxArrayString &resIncludeDirs) |
virtual const wxArrayString & | GetResourceIncludeDirs () const |
virtual void | AddResourceIncludeDir (const wxString &option) |
virtual void | ReplaceResourceIncludeDir (const wxString &option, const wxString &new_option) |
virtual void | RemoveResourceIncludeDir (const wxString &option) |
virtual void | SetLibDirs (const wxArrayString &libDirs) |
virtual const wxArrayString & | GetLibDirs () const |
virtual void | AddLibDir (const wxString &option) |
virtual void | ReplaceLibDir (const wxString &option, const wxString &new_option) |
virtual void | RemoveLibDir (const wxString &option) |
virtual void | SetCommandsBeforeBuild (const wxArrayString &commands) |
virtual const wxArrayString & | GetCommandsBeforeBuild () const |
virtual void | AddCommandsBeforeBuild (const wxString &command) |
virtual void | RemoveCommandsBeforeBuild (const wxString &command) |
virtual void | SetCommandsAfterBuild (const wxArrayString &commands) |
virtual const wxArrayString & | GetCommandsAfterBuild () const |
virtual void | AddCommandsAfterBuild (const wxString &command) |
virtual void | RemoveCommandsAfterBuild (const wxString &command) |
virtual void | SetBuildScripts (const wxArrayString &scripts) |
virtual const wxArrayString & | GetBuildScripts () const |
virtual void | AddBuildScript (const wxString &script) |
virtual void | RemoveBuildScript (const wxString &script) |
virtual bool | GetModified () const |
virtual void | SetModified (bool modified) |
virtual bool | GetAlwaysRunPostBuildSteps () const |
virtual void | SetAlwaysRunPostBuildSteps (bool always) |
virtual bool | SetVar (const wxString &key, const wxString &value, bool onlyIfExists=false) |
virtual bool | UnsetVar (const wxString &key) |
virtual void | UnsetAllVars () |
virtual bool | HasVar (const wxString &key) const |
virtual const wxString & | GetVar (const wxString &key) const |
virtual const StringHash & | GetAllVars () const |
Static Public Attributes | |
static const wxString | FilePathWithSpaces = _T("[][{}() \t#%$~[:alnum:]&_:+/\\.-]+") |
static wxString | CommandTypeDescriptions [ctCount] |
Get the command type descriptions (used in advanced compiler options) More... | |
Protected Member Functions | |
Compiler (const Compiler &other) | |
virtual Compiler * | CreateCopy ()=0 |
Implement this in new compilers, to return a new copy. More... | |
bool | IsUniqueID (const wxString &ID) |
void | MakeValidID () |
void | LoadDefaultOptions (const wxString &name, int recursion=0) |
void | LoadRegExArray (const wxString &name, bool globalPrecedence=false, int recursion=0) |
bool | EvalXMLCondition (const wxXmlNode *node) |
wxString | GetExecName (const wxString &name) |
void | MirrorCurrentSettings () |
Private Attributes | |
wxString | m_ID |
wxString | m_ParentID |
bool | m_Valid |
bool | m_NeedValidityCheck |
MirrorSettings | m_Mirror |
bool | m_Mirrored |
Static Private Attributes | |
static wxArrayString | m_CompilerIDs |
Friends | |
class | CompilerFactory |
Abstract base class for compilers.
Create a derived class and add it in compilerfactory.cpp
Definition at line 274 of file compiler.h.
struct Compiler::MirrorSettings |
Definition at line 432 of file compiler.h.
Class Members | ||
---|---|---|
wxArrayString | CmdsAfter | |
wxArrayString | CmdsBefore | |
CompilerToolsVector | Commands[ctCount] | |
wxArrayString | CompilerOptions_ | |
wxArrayString | ExtraPaths | |
wxArrayString | IncludeDirs | |
wxArrayString | LibDirs | |
wxArrayString | LinkerOptions | |
wxArrayString | LinkLibs | |
wxString | MasterPath | |
wxString | Name | |
CompilerOptions | Options | |
CompilerPrograms | Programs | |
RegExArray | RegExes | |
wxArrayString | ResIncludeDirs | |
wxArrayString | ResourceCompilerOptions | |
wxString | SortOptions[2] | |
CompilerSwitches | Switches |
Compiler::Compiler | ( | const wxString & | name, |
const wxString & | ID, | ||
const wxString & | parentID = wxEmptyString , |
||
int | weight = 50 |
||
) |
Definition at line 91 of file compiler.cpp.
References _T, LogManager::DebugLog(), F(), CompilerSwitches::forceFwdSlashes, Manager::Get(), Manager::GetLogManager(), m_Name, m_RegExes, m_Switches, m_VersionString, m_Weight, MakeValidID(), CompilerSwitches::supportsPCH, wxString::wx_str(), and wxEmptyString.
|
override |
Definition at line 152 of file compiler.cpp.
|
protected |
Definition at line 111 of file compiler.cpp.
References _(), _T, wxDateTime::CET, ctCount, wxDateTime::Format(), CompileOptionsBase::m_CmdsAfter, CompileOptionsBase::m_CmdsBefore, m_Commands, CompileOptionsBase::m_CompilerOptions, m_ExtraPaths, m_ID, CompileOptionsBase::m_IncludeDirs, CompileOptionsBase::m_LibDirs, CompileOptionsBase::m_LinkerOptions, CompileOptionsBase::m_LinkLibs, m_MasterPath, m_MultiLineMessages, m_Name, m_NeedValidityCheck, m_Options, m_Programs, m_RegExes, CompileOptionsBase::m_ResIncludeDirs, m_SortOptions, m_Switches, m_Valid, m_VersionString, m_Weight, MakeUniqueArray(), MakeValidID(), and wxDateTime::UNow().
|
pure virtual |
Try to auto-detect the compiler's installation directory.
Implemented in CompilerICC, CompilerMINGW, CompilerG95, CompilerCYGWIN, CompilerGDC, CompilerGNUARM, CompilerGNUFortran, CompilerIAR, CompilerKeilC51, CompilerMSVC, CompilerMSVC10, CompilerMSVC8, CompilerOW, CompilerLCC, and CompilerXML.
Referenced by CompilerOptionsDlg::AutoDetectCompiler(), and AutoDetectCompilers::AutoDetectCompilers().
|
virtual |
Check if the supplied string is a compiler warning/error.
Definition at line 773 of file compiler.cpp.
References _T, wxString::Clear(), cltNormal, RegExStruct::filename, wxRegEx::GetMatch(), RegExStruct::GetRegEx(), RegExStruct::HasRegEx(), wxString::IsEmpty(), RegExStruct::line, RegExStruct::lt, m_Error, m_ErrorFilename, m_ErrorLine, m_MultiLineMessages, m_RegExes, wxRegEx::Matches(), RegExStruct::msg, and UnixFilename().
Referenced by CompilerGCC::AddOutputLine(), and AdvancedCompilerOptionsDlg::OnRegexTest().
|
protectedpure virtual |
Implement this in new compilers, to return a new copy.
Implemented in CompilerKeilCX51, CompilerICC, CompilerMINGW, CompilerOW, CompilerG95, CompilerKeilC51, CompilerMSVC10, CompilerCYGWIN, CompilerGDC, CompilerGNUARM, CompilerGNUFortran, CompilerIAR, CompilerMSVC, CompilerMSVC8, CompilerLCC, and CompilerXML.
Referenced by CompilerFactory::CreateCompilerCopy().
|
protected |
Definition at line 1179 of file compiler.cpp.
References wxRegEx::Compile(), ConfigManager::Exists(), Manager::Get(), GetArrayFromString(), wxXmlNode::GetAttribute(), Manager::GetConfigManager(), wxArrayString::GetCount(), GetExecName(), GetStringFromArray(), wxString::IsEmpty(), wxArrayString::IsEmpty(), m_ID, m_ParentID, MakeUniqueArray(), wxRegEx::Matches(), wxString::Prepend(), ConfigManager::Read(), wxEmptyString, wxEXEC_NODISABLE, wxEXEC_NOEVENTS, wxEXEC_SYNC, wxExecute(), wxGetEnv(), wxSetEnv(), and wxT.
Referenced by CompilerXML::AutoDetectInstallationDir(), LoadDefaultOptions(), and LoadRegExArray().
|
virtual |
Get a command based on CommandType.
ct | The command type to process |
fileExtension | the file's extension (no leading dot) |
Definition at line 305 of file compiler.cpp.
References wxString::IsEmpty(), and m_Commands.
Referenced by DirectCommands::GetCompileSingleFileCommand(), DirectCommands::GetTargetLinkCommands(), and ProjectFileOptionsDlg::UpdateBuildCommand().
|
virtual |
This is to be overridden, if compiler needs to alter the default command line generation.
Reimplemented in CompilerMINGW, and CompilerOW.
Definition at line 298 of file compiler.cpp.
References CompilerCommandGenerator::Init().
Referenced by NativeParser::AddCompilerDirs(), cbGetDynamicLinkerPathForTarget(), and DirectCommands::DirectCommands().
|
inlinevirtual |
Get a command tool vector based on CommandType (used by advanced compiler dialog)
Definition at line 312 of file compiler.h.
Referenced by CompilerOptionsDlg::DoSaveCompilerDefinition(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
|
virtual |
Get a compiler tool based on CommandType.
Definition at line 334 of file compiler.cpp.
References wxString::IsEmpty(), and m_Commands.
Referenced by cbProject::AddFile(), and DirectCommands::GetCompileFileCommand().
|
inline |
Definition at line 375 of file compiler.h.
Referenced by CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::GenerateCommandLine(), LoadDefaultOptions(), CompilerOptionsDlg::OnFlagsPopup(), and SaveSettings().
|
inline |
Definition at line 376 of file compiler.h.
Referenced by CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::GenerateCommandLine(), LoadDefaultOptions(), CompilerOptionsDlg::OnFlagsPopup(), and SaveSettings().
Definition at line 1270 of file compiler.cpp.
References CompilerPrograms::C, CompilerPrograms::CPP, CompilerPrograms::LD, CompilerPrograms::LIB, m_Programs, CompilerPrograms::MAKE, CompilerPrograms::WINDRES, and wxT.
Referenced by CompilerXML::AutoDetectInstallationDir(), and EvalXMLCondition().
|
inlinevirtual |
Get the compiler's extra paths.
Definition at line 297 of file compiler.h.
Referenced by CompilerOptionsDlg::AutoDetectCompiler(), CompilerICC::AutoDetectInstallationDir(), CompilerOptionsDlg::DoFillCompilerPrograms(), and CompilerGCC::SetupEnvironment().
|
inline |
Get this compiler's unique ID.
Definition at line 351 of file compiler.h.
Referenced by NativeParser::AddCompilerIncludeDirsToParser(), AutoDetectCompilers::AutoDetectCompilers(), CompilerXML::AutoDetectInstallationDir(), CompilerOptionsDlg::CompilerChanged(), ScriptBindings::CompilerFactory_GetCompilerIDByName(), CompilerFactory::CompilerInheritsFrom(), CompilerFactory::CreateCompilerCopy(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Wizard::FillCompilerControl(), DebuggerManager::FindTargetsDebugger(), DirectCommands::GetCompileFileCommand(), Wiz::GetCompilerFromCombobox(), WizCompilerPanel::GetCompilerID(), WizBuildTargetPanel::GetCompilerID(), CompilerFactory::GetDefaultCompilerID(), LoadDefaultRegExArray(), CompilerOptionsDlg::OnResetCompilerClick(), ReloadOptions(), CompilerFactory::RemoveCompiler(), CompilerLCC::Reset(), Reset(), ProjectFileOptionsDlg::SaveBuildCommandSelection(), CompilerMINGW::SetVersionString(), ProjectFileOptionsDlg::UpdateBuildCommand(), and CompilerOptionsDlg::UpdateCompilerForTargets().
|
inlinevirtual |
Returns warning/error actual string.
Use it after a call to CheckForWarningsAndErrors()
Definition at line 291 of file compiler.h.
Referenced by CompilerGCC::AddOutputLine(), and AdvancedCompilerOptionsDlg::OnRegexTest().
|
inlinevirtual |
Returns warning/error filename.
Use it after a call to CheckForWarningsAndErrors()
Definition at line 287 of file compiler.h.
Referenced by CompilerGCC::AddOutputLine(), and AdvancedCompilerOptionsDlg::OnRegexTest().
|
inlinevirtual |
Returns warning/error line number (as a string).
Use it after a call to CheckForWarningsAndErrors()
Definition at line 289 of file compiler.h.
Referenced by CompilerGCC::AddOutputLine(), and AdvancedCompilerOptionsDlg::OnRegexTest().
|
inlinevirtual |
Get the compiler's master path (must contain "bin", "include" and "lib")
Definition at line 295 of file compiler.h.
Referenced by NativeParser::AddCompilerIncludeDirsToParser(), NativeParser::AddCompilerPredefinedMacrosGCC(), NativeParser::AddCompilerPredefinedMacrosVC(), CompilerOptionsDlg::AutoDetectCompiler(), AutoDetectCompilers::AutoDetectCompilers(), CompilerICC::AutoDetectInstallationDir(), CompilerOptionsDlg::DoFillCompilerPrograms(), AutoDetectCompilers::OnMouseMotion(), and CompilerGCC::SetupEnvironment().
|
inlinevirtual |
Get the compiler's name.
Definition at line 293 of file compiler.h.
Referenced by Wiz::AppendContainerWithSelectCompilers(), CompilerOptionsDlg::AutoDetectCompiler(), AutoDetectCompilers::AutoDetectCompilers(), CompilerFactory::CreateCompilerCopy(), Wiz::FillComboboxWithCompilers(), Wizard::FillCompilerControl(), ProjectFileOptionsDlg::FillCompilers(), Wiz::FillContainerWithSelectCompilers(), DebuggerManager::FindTargetsDebugger(), CompilerOptionsDlg::OnSetDefaultCompilerClick(), CompilerGCC::PrintBanner(), CompilerGCC::PrintInvalidCompiler(), CompilerFactory::RemoveCompiler(), and CompilerGCC::SetupEnvironment().
|
inlinevirtual |
Get the compiler's options.
Definition at line 303 of file compiler.h.
References wxEmptyString.
Referenced by CompilerOptionsDlg::CompilerChanged(), CompilerOptionsDlg::CompilerOptionsDlg(), and CompilerOptionsDlg::OnTreeSelectionChange().
|
inline |
Get this compiler's parent's unique ID.
Definition at line 353 of file compiler.h.
Referenced by AutoDetectCompilers::AutoDetectCompilers(), CompilerFactory::CompilerInheritsFrom(), LoadDefaultOptions(), CompilerOptionsDlg::OnUpdateUI(), and CompilerMINGW::SetVersionString().
|
inlinevirtual |
Get the compiler's programs.
Definition at line 299 of file compiler.h.
Referenced by NativeParser::AddCompilerIncludeDirsToParser(), NativeParser::AddCompilerPredefinedMacrosGCC(), NativeParser::AddCompilerPredefinedMacrosVC(), CompilerICC::AutoDetectInstallationDir(), CompilerOptionsDlg::DoFillCompilerPrograms(), CompilerOptionsDlg::DoSaveCompilerDefinition(), DebuggerManager::FindTargetsDebugger(), CompilerCommandGenerator::GenerateCommandLine(), CompilerGCC::GetMakeCommandFor(), and CompilerGCC::SetupEnvironment().
|
inlinevirtual |
Get the array of regexes used in errors/warnings recognition.
Definition at line 314 of file compiler.h.
Referenced by CompilerOptionsDlg::DoSaveCompilerDefinition(), AdvancedCompilerOptionsDlg::OnRegexDefaults(), and AdvancedCompilerOptionsDlg::ReadCompilerOptions().
|
inlinevirtual |
Get the compiler's generic switches.
Definition at line 301 of file compiler.h.
Referenced by DirectCommands::AreExternalDepsOutdated(), CompilerGCC::BuildStateManagement(), ProjectLoader::ConvertLibraries(), CompilerGCC::DoCleanWithMake(), CompilerOptionsDlg::DoLoadOptions(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerOptionsDlg::DoSaveOptions(), ProjectLoader::ExportTargetAsProject(), CompilerCommandGenerator::FixPathSeparators(), CompilerCommandGenerator::FixupLinkLibraries(), CompilerCommandGenerator::GenerateCommandLine(), CompileTargetBase::GenerateTargetFilename(), DirectCommands::GetCleanSingleFileCommand(), DirectCommands::GetCompileFileCommand(), DirectCommands::GetCompileSingleFileCommand(), CompilerCommandGenerator::GetOrderedIncludeDirs(), CompilerCommandGenerator::GetOrderedLibrariesDirs(), CompilerCommandGenerator::GetOrderedResourceIncludeDirs(), CompilerCommandGenerator::GetProcessedIncludeDir(), CompileTargetBase::GetStaticLibFilename(), DirectCommands::GetTargetCleanCommands(), DirectCommands::GetTargetLinkCommands(), DirectCommands::IsObjectOutdated(), TemplateManager::NewProjectFromUserTemplate(), CompilerGCC::OnCleanFile(), ProjectOptionsDlg::OnProjectTypeChanged(), CompilerOptionsDlg::OptionsToText(), ProjectOptionsDlg::ProjectOptionsDlg(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), CompilerCommandGenerator::SearchDirsFromBackticks(), cbProject::SetCompilerID(), ProjectFile::SetObjName(), CompilerMINGWGenerator::SetupIncludeDirs(), CompilerCommandGenerator::SetupIncludeDirs(), CompilerOWGenerator::SetupLibrariesDirs(), CompilerCommandGenerator::SetupLibrariesDirs(), CompilerCommandGenerator::SetupLinkLibraries(), CompilerCommandGenerator::SetupOutputFilenames(), CompilerCommandGenerator::SetupResourceIncludeDirs(), CompilerOptionsDlg::TextToOptions(), and pfDetails::Update().
|
inline |
Get the compiler version string.
Definition at line 365 of file compiler.h.
Referenced by CompilerMINGWGenerator::SetupIncludeDirs().
|
inlineprotected |
|
virtual |
Check if the compiler is actually valid (installed).
Reimplemented in CompilerLCC.
Definition at line 190 of file compiler.cpp.
References _T, CompilerPrograms::C, Manager::Get(), wxArrayString::GetCount(), Manager::GetMacrosManager(), wxString::IsEmpty(), m_ExtraPaths, m_MasterPath, m_NeedValidityCheck, m_Programs, m_Valid, MacrosManager::ReplaceMacros(), CompileOptionsBase::SupportsCurrentPlatform(), and wxFileExists().
Referenced by CompilerGCC::CompilerValid(), CompilerLCC::IsValid(), and LoadSettings().
|
protected |
Definition at line 809 of file compiler.cpp.
References _(), CompilerOptions::AddOption(), CompilerPrograms::C, wxString::c_str(), cbMessageBox(), clogFull, clogNone, clogSimple, CompilerPrograms::CPP, ctCompileObjectCmd, ctCompileResourceCmd, ctCount, ctGenDependenciesCmd, ctLinkConsoleExeCmd, ctLinkDynamicCmd, ctLinkExeCmd, ctLinkNativeCmd, ctLinkStaticCmd, CompilerPrograms::DBGconfig, CompilerSwitches::defaultLogging, CompilerSwitches::defines, EvalXMLCondition(), ConfigManager::Exists(), CompilerSwitches::forceCompilerUseQuotes, CompilerSwitches::forceFwdSlashes, CompilerSwitches::forceLinkerUseQuotes, CompilerSwitches::genericSwitch, Manager::Get(), wxXmlNode::GetAttribute(), wxXmlNode::GetChildren(), CompilerFactory::GetCompilerIndex(), Manager::GetConfigManager(), GetCOnlyFlags(), GetCPPOnlyFlags(), Manager::GetLogManager(), wxXmlNode::GetName(), wxXmlNode::GetNext(), wxXmlNode::GetParent(), GetParentID(), wxXmlDocument::GetRoot(), CompilerSwitches::includeDirs, CompilerSwitches::includeDirSeparator, wxString::IsEmpty(), CompilerPrograms::LD, CompilerPrograms::LIB, CompilerSwitches::libDirs, CompilerSwitches::libDirSeparator, CompilerSwitches::libExtension, CompilerSwitches::libPrefix, CompilerSwitches::linkerNeedsLibExtension, CompilerSwitches::linkerNeedsLibPrefix, CompilerSwitches::linkerNeedsPathResolved, CompilerSwitches::linkLibs, wxXmlDocument::Load(), ConfigManager::LocateDataFile(), LogManager::Log(), CompilerSwitches::logging, LogManager::LogWarning(), m_Commands, m_ID, m_Mirror, m_Options, m_Programs, m_Switches, CompilerPrograms::MAKE, MakeUniqueString(), CompilerSwitches::needDependencies, CompilerSwitches::objectExtension, CompilerSwitches::objectSeparator, CompilerSwitches::PCHExtension, wxString::Printf(), Compiler::MirrorSettings::Programs, ConfigManager::Read(), wxString::Replace(), sdDataGlobal, sdDataUser, SetCOnlyFlags(), SetCPPOnlyFlags(), CompilerSwitches::statusSuccess, CompilerSwitches::supportsPCH, wxString::ToLong(), CompilerSwitches::Use83Paths, CompilerSwitches::UseFlatObjects, CompilerSwitches::UseFullSourcePaths, CompilerPrograms::WINDRES, wxEmptyString, wxGetTranslation(), wxICON_ERROR, wxICON_EXCLAMATION, and wxT.
Referenced by ReloadOptions(), CompilerLCC::Reset(), and Reset().
|
virtual |
Load the default (preset) array of regexes used in errors/warnings recognition.
Definition at line 183 of file compiler.cpp.
References GetID(), LoadRegExArray(), and m_RegExes.
Referenced by AdvancedCompilerOptionsDlg::OnRegexDefaults(), ReloadOptions(), CompilerLCC::Reset(), and Reset().
|
protected |
Definition at line 1096 of file compiler.cpp.
References _(), cltError, cltInfo, cltNormal, cltWarning, EvalXMLCondition(), Manager::Get(), GetArrayFromString(), wxXmlNode::GetAttribute(), wxXmlNode::GetChildren(), Manager::GetLogManager(), wxXmlNode::GetName(), wxXmlNode::GetNext(), wxXmlNode::GetNodeContent(), wxXmlNode::GetParent(), wxXmlDocument::GetRoot(), wxString::IsEmpty(), wxXmlDocument::Load(), ConfigManager::LocateDataFile(), LogManager::Log(), LogManager::LogWarning(), m_RegExes, sdDataGlobal, sdDataUser, wxString::Trim(), wxAtoi(), wxEmptyString, wxGetTranslation(), and wxT.
Referenced by LoadDefaultRegExArray().
|
virtual |
Load settings.
Reimplemented in CompilerOW.
Definition at line 584 of file compiler.cpp.
References _(), _T, CompilerPrograms::C, wxString::c_str(), cbMessageBox(), CompilerTool::command, Compiler::MirrorSettings::Commands, CommandTypeDescriptions, CompilerSettingsVersion, CompilerPrograms::CPP, ctCount, CompilerPrograms::DBGconfig, CompilerSwitches::defines, ConfigManager::EnumerateKeys(), ConfigManager::EnumerateSubPaths(), ConfigManager::Exists(), CompilerTool::extensions, CompilerSwitches::forceCompilerUseQuotes, CompilerSwitches::forceFwdSlashes, CompilerSwitches::forceLinkerUseQuotes, wxString::Format(), CompilerTool::generatedFiles, CompilerSwitches::genericSwitch, Manager::Get(), GetArrayFromString(), CompilerFactory::GetCompilerIndex(), Manager::GetConfigManager(), wxArrayString::GetCount(), wxFileName::GetPathSeparator(), CompilerSwitches::includeDirs, CompilerSwitches::includeDirSeparator, IsValid(), CompilerPrograms::LD, CompilerPrograms::LIB, CompilerSwitches::libDirs, CompilerSwitches::libDirSeparator, CompilerSwitches::libExtension, CompilerSwitches::libPrefix, CompilerSwitches::linkerNeedsLibExtension, CompilerSwitches::linkerNeedsLibPrefix, CompilerSwitches::linkerNeedsPathResolved, CompilerSwitches::linkLibs, CompilerSwitches::logging, m_Commands, m_ExtraPaths, m_ID, m_MasterPath, m_Mirror, m_Name, m_Options, m_Programs, m_RegExes, m_SortOptions, m_Switches, CompilerPrograms::MAKE, MakeUniqueArray(), MirrorCurrentSettings(), CompilerSwitches::needDependencies, CompilerSwitches::objectExtension, CompilerSwitches::objectSeparator, Compiler::MirrorSettings::Options, CompilerSwitches::PCHExtension, wxString::Printf(), ConfigManager::Read(), ConfigManager::ReadArrayString(), ConfigManager::ReadBool(), ConfigManager::ReadInt(), Compiler::MirrorSettings::RegExes, wxString::Remove(), wxString::Replace(), HTMLTags::sep, CompileOptionsBase::SetCommandsAfterBuild(), CompileOptionsBase::SetCommandsBeforeBuild(), CompileOptionsBase::SetCompilerOptions(), CompileOptionsBase::SetIncludeDirs(), CompileOptionsBase::SetLibDirs(), CompileOptionsBase::SetLinkerOptions(), CompileOptionsBase::SetLinkLibs(), CompileOptionsBase::SetResourceCompilerOptions(), CompileOptionsBase::SetResourceIncludeDirs(), CompileOptionsBase::SetVar(), SetVersionString(), wxString::StartsWith(), CompilerSwitches::statusSuccess, CompilerSwitches::supportsPCH, Compiler::MirrorSettings::Switches, wxString::ToLong(), CompileOptionsBase::UnsetAllVars(), CompilerSwitches::Use83Paths, CompilerSwitches::UseFlatObjects, CompilerSwitches::UseFullSourcePaths, CfgMgrConsts::version, CompilerPrograms::WINDRES, wxEmptyString, wxICON_INFORMATION, wxICON_QUESTION, wxID_YES, wxT, and wxYES_NO.
Referenced by CompilerFactory::CreateCompilerCopy(), and CompilerOW::LoadSettings().
wxString Compiler::MakeInvalidCompilerMessages | ( | ) | const |
Returns messages which might be useful to the use for debugging why the compiler is invalid.
Call only after IsValid returns false.
Definition at line 233 of file compiler.cpp.
References _(), _T, CompilerPrograms::C, F(), Manager::Get(), wxArrayString::GetCount(), Manager::GetMacrosManager(), m_ExtraPaths, m_MasterPath, m_Programs, MacrosManager::ReplaceMacros(), CompileOptionsBase::SupportsCurrentPlatform(), and wxString::wx_str().
Referenced by CompilerGCC::PrintInvalidCompiler().
|
protected |
Definition at line 261 of file compiler.cpp.
References _T, wxArrayString::Add(), wxString::Append(), cbThrow, wxString::GetChar(), wxString::IsEmpty(), IsUniqueID(), wxString::Length(), wxString::Lower(), m_CompilerIDs, m_ID, m_Name, wxString::Prepend(), wxIsalnum(), wxIsdigit(), and wxIsspace().
Referenced by Compiler(), and CompilerFactory::CreateCompilerCopy().
|
protected |
Definition at line 360 of file compiler.cpp.
References Compiler::MirrorSettings::CmdsAfter, Compiler::MirrorSettings::CmdsBefore, Compiler::MirrorSettings::Commands, Compiler::MirrorSettings::CompilerOptions_, ctCount, Compiler::MirrorSettings::ExtraPaths, Compiler::MirrorSettings::IncludeDirs, Compiler::MirrorSettings::LibDirs, Compiler::MirrorSettings::LinkerOptions, Compiler::MirrorSettings::LinkLibs, CompileOptionsBase::m_CmdsAfter, CompileOptionsBase::m_CmdsBefore, m_Commands, CompileOptionsBase::m_CompilerOptions, m_ExtraPaths, CompileOptionsBase::m_IncludeDirs, CompileOptionsBase::m_LibDirs, CompileOptionsBase::m_LinkerOptions, CompileOptionsBase::m_LinkLibs, m_MasterPath, m_Mirror, m_Mirrored, m_Name, m_Options, m_Programs, m_RegExes, CompileOptionsBase::m_ResIncludeDirs, m_SortOptions, m_Switches, MakeUniqueArray(), Compiler::MirrorSettings::MasterPath, Compiler::MirrorSettings::Name, Compiler::MirrorSettings::Options, Compiler::MirrorSettings::Programs, Compiler::MirrorSettings::RegExes, Compiler::MirrorSettings::ResIncludeDirs, Compiler::MirrorSettings::SortOptions, and Compiler::MirrorSettings::Switches.
Referenced by LoadSettings().
|
virtual |
Reload option flags (for copied compilers).
Override if not using standard XML loading.
Definition at line 174 of file compiler.cpp.
References CompilerOptions::ClearOptions(), GetID(), LoadDefaultOptions(), LoadDefaultRegExArray(), ConfigManager::LocateDataFile(), m_Options, sdDataGlobal, sdDataUser, and wxT.
Referenced by CompilerFactory::CreateCompilerCopy().
|
virtual |
Reset settings to defaults.
Put initialization code here or leave blank for standard XML loading. Call this from the default constructor.
Reimplemented in CompilerLCC.
Definition at line 157 of file compiler.cpp.
References wxArrayString::Clear(), CompilerOptions::ClearOptions(), ctCount, GetID(), LoadDefaultOptions(), LoadDefaultRegExArray(), CompileOptionsBase::m_CmdsAfter, CompileOptionsBase::m_CmdsBefore, m_Commands, CompileOptionsBase::m_CompilerOptions, CompileOptionsBase::m_LinkerOptions, CompileOptionsBase::m_LinkLibs, m_Options, and SetVersionString().
Referenced by CompilerCYGWIN::CompilerCYGWIN(), CompilerG95::CompilerG95(), CompilerGDC::CompilerGDC(), CompilerGNUARM::CompilerGNUARM(), CompilerGNUFortran::CompilerGNUFortran(), CompilerIAR::CompilerIAR(), CompilerICC::CompilerICC(), CompilerKeilC51::CompilerKeilC51(), CompilerMINGW::CompilerMINGW(), CompilerMSVC::CompilerMSVC(), CompilerMSVC10::CompilerMSVC10(), CompilerMSVC8::CompilerMSVC8(), CompilerOW::CompilerOW(), CompilerXML::CompilerXML(), and CompilerOptionsDlg::OnResetCompilerClick().
|
virtual |
Save settings.
Definition at line 395 of file compiler.cpp.
References _T, CompilerPrograms::C, wxString::c_str(), Compiler::MirrorSettings::CmdsAfter, Compiler::MirrorSettings::CmdsBefore, Compiler::MirrorSettings::Commands, CommandTypeDescriptions, Compiler::MirrorSettings::CompilerOptions_, CompilerPrograms::CPP, ctCount, CompilerPrograms::DBGconfig, CompilerSwitches::defines, ConfigManager::DeleteSubPath(), RegExStruct::desc, Compiler::MirrorSettings::ExtraPaths, RegExStruct::filename, CompilerSwitches::forceCompilerUseQuotes, CompilerSwitches::forceFwdSlashes, CompilerSwitches::forceLinkerUseQuotes, wxString::Format(), CompilerSwitches::genericSwitch, Manager::Get(), CompileOptionsBase::GetAllVars(), CompilerFactory::GetCompilerIndex(), Manager::GetConfigManager(), GetCOnlyFlags(), GetCPPOnlyFlags(), RegExStruct::GetRegExString(), GetStringFromArray(), CompilerSwitches::includeDirs, Compiler::MirrorSettings::IncludeDirs, CompilerSwitches::includeDirSeparator, CompilerPrograms::LD, CompilerPrograms::LIB, CompilerSwitches::libDirs, Compiler::MirrorSettings::LibDirs, CompilerSwitches::libDirSeparator, CompilerSwitches::libExtension, CompilerSwitches::libPrefix, RegExStruct::line, CompilerSwitches::linkerNeedsLibExtension, CompilerSwitches::linkerNeedsLibPrefix, CompilerSwitches::linkerNeedsPathResolved, Compiler::MirrorSettings::LinkerOptions, CompilerSwitches::linkLibs, Compiler::MirrorSettings::LinkLibs, CompilerSwitches::logging, RegExStruct::lt, CompileOptionsBase::m_CmdsAfter, CompileOptionsBase::m_CmdsBefore, m_Commands, CompileOptionsBase::m_CompilerOptions, m_ExtraPaths, m_ID, CompileOptionsBase::m_IncludeDirs, CompileOptionsBase::m_LibDirs, CompileOptionsBase::m_LinkerOptions, CompileOptionsBase::m_LinkLibs, m_MasterPath, m_Mirror, m_Name, m_ParentID, m_Programs, m_RegExes, CompileOptionsBase::m_ResIncludeDirs, CompileOptionsBase::m_ResourceCompilerOptions, m_Switches, CompilerPrograms::MAKE, MakeUniqueArray(), Compiler::MirrorSettings::MasterPath, RegExStruct::msg, CompilerSwitches::needDependencies, CompilerSwitches::objectExtension, CompilerSwitches::objectSeparator, CompilerSwitches::PCHExtension, wxString::Printf(), Compiler::MirrorSettings::Programs, Compiler::MirrorSettings::RegExes, Compiler::MirrorSettings::ResIncludeDirs, Compiler::MirrorSettings::ResourceCompilerOptions, Compiler::MirrorSettings::SortOptions, CompilerSwitches::statusSuccess, CompilerSwitches::supportsPCH, Compiler::MirrorSettings::Switches, CompilerSwitches::Use83Paths, CompilerSwitches::UseFlatObjects, CompilerSwitches::UseFullSourcePaths, CompilerPrograms::WINDRES, and ConfigManager::Write().
|
inline |
Definition at line 372 of file compiler.h.
Referenced by LoadDefaultOptions(), and CompilerOptionsDlg::OnFlagsPopup().
|
inline |
Definition at line 373 of file compiler.h.
Referenced by LoadDefaultOptions(), and CompilerOptionsDlg::OnFlagsPopup().
|
inlinevirtual |
Set the compiler's extra paths.
Definition at line 323 of file compiler.h.
Referenced by CompilerOptionsDlg::AutoDetectCompiler(), and CompilerOptionsDlg::DoSaveCompilerPrograms().
|
inlinevirtual |
Set the compiler's master path (must contain "bin", "include" and "lib")
Reimplemented in CompilerOW.
Definition at line 321 of file compiler.h.
Referenced by CompilerOptionsDlg::AutoDetectCompiler(), AutoDetectCompilers::AutoDetectCompilers(), CompilerOptionsDlg::DoSaveCompilerPrograms(), and CompilerOW::SetMasterPath().
|
inlinevirtual |
Set the compiler's name.
Definition at line 319 of file compiler.h.
Referenced by CompilerFactory::CreateCompilerCopy(), and CompilerOptionsDlg::OnEditCompilerClick().
|
inlinevirtual |
Set the compiler's options.
Definition at line 329 of file compiler.h.
Referenced by CompilerOptionsDlg::DoSaveCompilerDefinition().
|
inlinevirtual |
Set the compiler's programs.
Definition at line 325 of file compiler.h.
Referenced by CompilerOptionsDlg::DoSaveCompilerPrograms().
|
inlinevirtual |
Set the array of regexes used in errors/warnings recognition.
Definition at line 331 of file compiler.h.
Referenced by AdvancedCompilerOptionsDlg::EndModal(), and AdvancedCompilerOptionsDlg::OnRegexTest().
|
inlinevirtual |
Set the compiler's generic switches.
Definition at line 327 of file compiler.h.
Referenced by CompilerOptionsDlg::DoSaveOptions(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
|
inlinevirtual |
Set the compiler version string.
Please override this virtual function with your own compiler-version detection code if you want to use this.
By default this function does nothing.
Reimplemented in CompilerMINGW.
Definition at line 362 of file compiler.h.
Referenced by CompilerG95::AutoDetectInstallationDir(), LoadSettings(), and Reset().
|
inline |
Do compiler writes multi-line messages?
Definition at line 379 of file compiler.h.
Referenced by CompilerGCC::AddOutputLine().
|
friend |
Definition at line 385 of file compiler.h.
|
static |
Get the command type descriptions (used in advanced compiler options)
Definition at line 356 of file compiler.h.
Referenced by CompilerSwitches::CompilerSwitches(), LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), and SaveSettings().
Definition at line 277 of file compiler.h.
|
protected |
Definition at line 411 of file compiler.h.
Referenced by Compiler(), GetCommand(), GetCompilerTool(), LoadDefaultOptions(), LoadSettings(), MirrorCurrentSettings(), Reset(), and SaveSettings().
|
staticprivate |
Definition at line 427 of file compiler.h.
Referenced by CompilerFactory::CreateCompilerCopy(), MakeValidID(), CompilerFactory::RemoveCompiler(), and CompilerFactory::UnregisterCompilers().
|
protected |
Definition at line 418 of file compiler.h.
Referenced by CheckForWarningsAndErrors().
|
protected |
Definition at line 416 of file compiler.h.
Referenced by CheckForWarningsAndErrors().
|
protected |
Definition at line 417 of file compiler.h.
Referenced by CheckForWarningsAndErrors().
|
protected |
Definition at line 410 of file compiler.h.
Referenced by CompilerXML::AddPath(), CompilerXML::AutoDetectInstallationDir(), CompilerLCC::AutoDetectInstallationDir(), CompilerIAR::AutoDetectInstallationDir(), CompilerKeilC51::AutoDetectInstallationDir(), CompilerMSVC::AutoDetectInstallationDir(), CompilerOW::AutoDetectInstallationDir(), CompilerMSVC8::AutoDetectInstallationDir(), CompilerMSVC10::AutoDetectInstallationDir(), CompilerICC::AutoDetectInstallationDir(), Compiler(), IsValid(), LoadSettings(), MakeInvalidCompilerMessages(), MirrorCurrentSettings(), and SaveSettings().
|
private |
Definition at line 425 of file compiler.h.
Referenced by Compiler(), CompilerFactory::CreateCompilerCopy(), EvalXMLCondition(), LoadDefaultOptions(), LoadSettings(), MakeValidID(), and SaveSettings().
|
protected |
Definition at line 409 of file compiler.h.
Referenced by CompilerXML::AddPath(), CompilerXML::AutoDetectInstallationDir(), CompilerLCC::AutoDetectInstallationDir(), CompilerGDC::AutoDetectInstallationDir(), CompilerMSVC::AutoDetectInstallationDir(), CompilerOW::AutoDetectInstallationDir(), CompilerGNUARM::AutoDetectInstallationDir(), CompilerMSVC10::AutoDetectInstallationDir(), CompilerMSVC8::AutoDetectInstallationDir(), CompilerGNUFortran::AutoDetectInstallationDir(), CompilerCYGWIN::AutoDetectInstallationDir(), CompilerIAR::AutoDetectInstallationDir(), CompilerKeilC51::AutoDetectInstallationDir(), CompilerG95::AutoDetectInstallationDir(), CompilerMINGW::AutoDetectInstallationDir(), CompilerICC::AutoDetectInstallationDir(), Compiler(), CompilerLCC::IsValid(), IsValid(), CompilerOW::LoadSettings(), LoadSettings(), MakeInvalidCompilerMessages(), MirrorCurrentSettings(), SaveSettings(), CompilerOW::SetMasterPath(), and CompilerMINGW::SetVersionString().
|
private |
Definition at line 458 of file compiler.h.
Referenced by LoadDefaultOptions(), LoadSettings(), MirrorCurrentSettings(), and SaveSettings().
|
private |
Definition at line 459 of file compiler.h.
Referenced by MirrorCurrentSettings().
|
protected |
Definition at line 423 of file compiler.h.
Referenced by CheckForWarningsAndErrors(), Compiler(), CompilerGNUFortran::CompilerGNUFortran(), and CompilerXML::CompilerXML().
|
protected |
Definition at line 408 of file compiler.h.
Referenced by Compiler(), LoadSettings(), MakeValidID(), MirrorCurrentSettings(), and SaveSettings().
|
private |
Definition at line 429 of file compiler.h.
Referenced by Compiler(), and IsValid().
|
protected |
Definition at line 414 of file compiler.h.
Referenced by Compiler(), LoadDefaultOptions(), LoadSettings(), MirrorCurrentSettings(), ReloadOptions(), CompilerLCC::Reset(), and Reset().
|
private |
Definition at line 426 of file compiler.h.
Referenced by EvalXMLCondition(), CompilerFactory::RemoveCompiler(), and SaveSettings().
|
protected |
Definition at line 412 of file compiler.h.
Referenced by CompilerXML::AutoDetectInstallationDir(), CompilerLCC::AutoDetectInstallationDir(), CompilerCYGWIN::AutoDetectInstallationDir(), CompilerMSVC8::AutoDetectInstallationDir(), CompilerGDC::AutoDetectInstallationDir(), CompilerKeilC51::AutoDetectInstallationDir(), CompilerMSVC::AutoDetectInstallationDir(), CompilerMSVC10::AutoDetectInstallationDir(), CompilerOW::AutoDetectInstallationDir(), CompilerGNUARM::AutoDetectInstallationDir(), CompilerGNUFortran::AutoDetectInstallationDir(), CompilerIAR::AutoDetectInstallationDir(), CompilerG95::AutoDetectInstallationDir(), CompilerMINGW::AutoDetectInstallationDir(), CompilerICC::AutoDetectInstallationDir(), Compiler(), GetExecName(), CompilerLCC::IsValid(), IsValid(), LoadDefaultOptions(), LoadSettings(), MakeInvalidCompilerMessages(), MirrorCurrentSettings(), SaveSettings(), and CompilerMINGW::SetVersionString().
|
protected |
Definition at line 415 of file compiler.h.
Referenced by CheckForWarningsAndErrors(), Compiler(), LoadDefaultRegExArray(), LoadRegExArray(), LoadSettings(), MirrorCurrentSettings(), and SaveSettings().
|
protected |
Definition at line 420 of file compiler.h.
Referenced by Compiler(), LoadSettings(), and MirrorCurrentSettings().
|
protected |
Definition at line 413 of file compiler.h.
Referenced by Compiler(), LoadDefaultOptions(), LoadSettings(), MirrorCurrentSettings(), and SaveSettings().
|
private |
Definition at line 428 of file compiler.h.
Referenced by Compiler(), and IsValid().
|
protected |
Definition at line 419 of file compiler.h.
Referenced by Compiler(), and CompilerMINGW::SetVersionString().
|
protected |
Definition at line 422 of file compiler.h.
Referenced by Compiler(), CompilerCYGWIN::CompilerCYGWIN(), CompilerG95::CompilerG95(), CompilerGDC::CompilerGDC(), CompilerGNUARM::CompilerGNUARM(), CompilerGNUFortran::CompilerGNUFortran(), CompilerIAR::CompilerIAR(), CompilerICC::CompilerICC(), CompilerKeilC51::CompilerKeilC51(), CompilerKeilCX51::CompilerKeilCX51(), CompilerLCC::CompilerLCC(), CompilerMINGW::CompilerMINGW(), CompilerMSVC::CompilerMSVC(), CompilerMSVC10::CompilerMSVC10(), CompilerMSVC8::CompilerMSVC8(), CompilerOW::CompilerOW(), CompilerXML::CompilerXML(), and CompilerFactory::RegisterCompiler().