Code::Blocks
SVN r11506
|
Struct to keep switches. More...
#include <compiler.h>
Public Member Functions | |
CompilerSwitches () | |
Static Public Attributes | |
static const CompilerLoggingType | defaultLogging = clogFull |
Struct to keep switches.
Definition at line 209 of file compiler.h.
CompilerSwitches::CompilerSwitches | ( | ) |
Definition at line 48 of file compiler.cpp.
References _(), _T, Compiler::CommandTypeDescriptions, ctCount, defaultLogging, defines, forceCompilerUseQuotes, forceFwdSlashes, forceLinkerUseQuotes, genericSwitch, includeDirs, includeDirSeparator, libDirs, libDirSeparator, libExtension, libPrefix, linkerNeedsLibExtension, linkerNeedsLibPrefix, linkerNeedsPathResolved, linkLibs, logging, needDependencies, objectExtension, objectSeparator, PCHExtension, statusSuccess, supportsPCH, Use83Paths, UseFlatObjects, and UseFullSourcePaths.
|
static |
Definition at line 211 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), and Compiler::LoadDefaultOptions().
wxString CompilerSwitches::defines |
Definition at line 215 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), CompilerOptionsDlg::OptionsToText(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerOptionsDlg::TextToOptions(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::forceCompilerUseQuotes |
Definition at line 220 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::forceFwdSlashes |
Definition at line 218 of file compiler.h.
Referenced by Compiler::Compiler(), CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::FixPathSeparators(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::forceLinkerUseQuotes |
Definition at line 219 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::genericSwitch |
Definition at line 216 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), CompilerOptionsDlg::OptionsToText(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::includeDirs |
Definition at line 212 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::GenerateCommandLine(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SearchDirsFromBackticks(), CompilerMINGWGenerator::SetupIncludeDirs(), CompilerCommandGenerator::SetupIncludeDirs(), CompilerCommandGenerator::SetupResourceIncludeDirs(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxChar CompilerSwitches::includeDirSeparator |
Definition at line 240 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::GenerateCommandLine(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SetupIncludeDirs(), CompilerCommandGenerator::SetupResourceIncludeDirs(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::libDirs |
Definition at line 213 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SearchDirsFromBackticks(), CompilerOWGenerator::SetupLibrariesDirs(), CompilerCommandGenerator::SetupLibrariesDirs(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxChar CompilerSwitches::libDirSeparator |
Definition at line 241 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SetupLibrariesDirs(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::libExtension |
Definition at line 224 of file compiler.h.
Referenced by DirectCommands::AreExternalDepsOutdated(), CompilerSwitches(), ProjectLoader::ConvertLibraries(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::FixupLinkLibraries(), CompileTargetBase::GenerateTargetFilename(), CompileTargetBase::GetStaticLibFilename(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), ProjectOptionsDlg::OnProjectTypeChanged(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SetupOutputFilenames(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::libPrefix |
Definition at line 223 of file compiler.h.
Referenced by DirectCommands::AreExternalDepsOutdated(), CompilerSwitches(), ProjectLoader::ConvertLibraries(), CompilerOptionsDlg::DoSaveCompilerDefinition(), ProjectLoader::ExportTargetAsProject(), CompilerCommandGenerator::FixupLinkLibraries(), CompileTargetBase::GenerateTargetFilename(), CompileTargetBase::GetStaticLibFilename(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), TemplateManager::NewProjectFromUserTemplate(), ProjectOptionsDlg::OnProjectTypeChanged(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SetupOutputFilenames(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::linkerNeedsLibExtension |
Definition at line 226 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::FixupLinkLibraries(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::linkerNeedsLibPrefix |
Definition at line 225 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::FixupLinkLibraries(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::linkerNeedsPathResolved |
Definition at line 227 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SetupLibrariesDirs(), CompilerCommandGenerator::SetupLinkLibraries(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::linkLibs |
Definition at line 214 of file compiler.h.
Referenced by CompilerSwitches(), ProjectLoader::ConvertLibraries(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::FixupLinkLibraries(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
CompilerLoggingType CompilerSwitches::logging |
Definition at line 222 of file compiler.h.
Referenced by CompilerGCC::BuildStateManagement(), CompilerSwitches(), CompilerGCC::DoCleanWithMake(), CompilerOptionsDlg::DoLoadOptions(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerOptionsDlg::DoSaveOptions(), DirectCommands::GetCompileFileCommand(), DirectCommands::GetCompileSingleFileCommand(), DirectCommands::GetTargetLinkCommands(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), and Compiler::SaveSettings().
bool CompilerSwitches::needDependencies |
Definition at line 221 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::objectExtension |
Definition at line 217 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), DirectCommands::GetCleanSingleFileCommand(), DirectCommands::GetCompileSingleFileCommand(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), cbProject::SetCompilerID(), ProjectFile::SetObjName(), pfDetails::Update(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxChar CompilerSwitches::objectSeparator |
Definition at line 242 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::GenerateCommandLine(), DirectCommands::GetTargetLinkCommands(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerCommandGenerator::SetupLinkLibraries(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
wxString CompilerSwitches::PCHExtension |
Definition at line 229 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), ProjectFile::SetObjName(), pfDetails::Update(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
int CompilerSwitches::statusSuccess |
Definition at line 243 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::supportsPCH |
Definition at line 228 of file compiler.h.
Referenced by Compiler::Compiler(), CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), DirectCommands::GetCompileFileCommand(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), ProjectOptionsDlg::ProjectOptionsDlg(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), ProjectFile::SetObjName(), pfDetails::Update(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::Use83Paths |
Definition at line 235 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), CompilerCommandGenerator::GetOrderedIncludeDirs(), CompilerCommandGenerator::GetOrderedLibrariesDirs(), CompilerCommandGenerator::GetOrderedResourceIncludeDirs(), CompilerCommandGenerator::GetProcessedIncludeDir(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::UseFlatObjects |
Definition at line 230 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), DirectCommands::GetCompileFileCommand(), DirectCommands::GetTargetCleanCommands(), DirectCommands::GetTargetLinkCommands(), DirectCommands::IsObjectOutdated(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), CompilerGCC::OnCleanFile(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), CompilerMINGWGenerator::SetupIncludeDirs(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().
bool CompilerSwitches::UseFullSourcePaths |
Definition at line 231 of file compiler.h.
Referenced by CompilerSwitches(), CompilerOptionsDlg::DoSaveCompilerDefinition(), DirectCommands::GetCompileFileCommand(), Compiler::LoadDefaultOptions(), Compiler::LoadSettings(), AdvancedCompilerOptionsDlg::ReadCompilerOptions(), Compiler::SaveSettings(), and AdvancedCompilerOptionsDlg::WriteCompilerOptions().