cbp2make
Makefile generation tool for Code::Blocks IDE
|
Build configuration. More...
#include <cbbuildcfg.h>
Public Member Functions | |
CPlatformSet & | Platforms (void) |
Returns reference to the set of platforms in build configuration. More... | |
CToolChainSet & | ToolChains (void) |
Returns reference to the set of toolchains in build configuration. More... | |
CGlobalVariableConfig & | GlobalVariables (void) |
Returns reference to the set of global variables in build configuration. More... | |
CStringList & | Targets (void) |
CString & | DefaultOptions (void) |
int & | TargetNameCase (void) |
int & | MacroVariableCase (void) |
int & | QuotePathMode (void) |
bool & | NumericToolchainSuffix (void) |
bool & | FlatObjectNames (void) |
Controls the way of object file names generation. More... | |
bool & | FlatObjectPaths (void) |
Controls the way of object file names generation. More... | |
bool & | MultilineObjects (void) |
Allows generation of multi-line object file lists. More... | |
bool & | MultilineOptions (void) |
Allows generation of multi-line option lists. More... | |
bool & | IncludeDependencies (void) |
bool & | KeepObjectDirectories (void) |
bool & | KeepOutputDirectories (void) |
bool & | BeQuiet (void) |
bool & | BeVerbose (void) |
void | Clear (void) |
Resets the build configuration to the initial state. More... | |
bool | Load (const CString &FileName) |
Loads a build configuration from a file specified by FileName. More... | |
bool | Save (const CString &FileName) |
Saves the build configuration to a file specified by FileName. More... | |
void | Show (void) |
Prints build configuration contents to standard output. More... | |
CCodeBlocksBuildConfig (void) | |
Creates build configuration. More... | |
~CCodeBlocksBuildConfig (void) | |
Destroys build configuration. More... | |
Private Attributes | |
CPlatformSet | m_Platforms |
Configuration of a set of platforms. More... | |
CToolChainSet | m_ToolChains |
Configuration of a set of build utilities. More... | |
CGlobalVariableConfig | m_GlobalVariables |
Configuration of a set of global variables. More... | |
CStringList | m_Targets |
CString | m_DefaultOptions |
int | m_TargetNameCase |
int | m_MacroVariableCase |
int | m_QuotePathMode |
bool | m_NumericToolchainSuffix |
bool | m_FlatObjectNames |
Controls the way of object file names generation. More... | |
bool | m_FlatObjectPaths |
Controls the way of object file names generation. More... | |
bool | m_MultilineObjects |
Allows generation of multi-line object file lists. More... | |
bool | m_MultilineOptions |
Allows generation of multi-line option lists. More... | |
bool | m_IncludeDependencies |
bool | m_KeepObjectDirectories |
bool | m_KeepOutputDirectories |
bool | m_BeQuiet |
bool | m_BeVerbose |
Build configuration.
Contains configurations for platforms (operating systems), build utilities, i.e., toolchains, global compiler variables (installation-specefic options), makefile generation options.
CCodeBlocksBuildConfig::CCodeBlocksBuildConfig | ( | void | ) |
Creates build configuration.
CCodeBlocksBuildConfig::~CCodeBlocksBuildConfig | ( | void | ) |
Destroys build configuration.
|
inline |
|
inline |
CCodeBlocksBuildConfig::Clear | ( | void | ) |
Resets the build configuration to the initial state.
|
inline |
|
inline |
Controls the way of object file names generation.
|
inline |
Controls the way of object file names generation.
|
inline |
Returns reference to the set of global variables in build configuration.
|
inline |
|
inline |
|
inline |
CCodeBlocksBuildConfig::Load | ( | const CString & | FileName | ) |
Loads a build configuration from a file specified by FileName.
FileName | name of build configuration file. |
|
inline |
|
inline |
Allows generation of multi-line object file lists.
|
inline |
Allows generation of multi-line option lists.
|
inline |
|
inline |
Returns reference to the set of platforms in build configuration.
|
inline |
CCodeBlocksBuildConfig::Save | ( | const CString & | FileName | ) |
Saves the build configuration to a file specified by FileName.
FileName | name of build configuration file. |
CCodeBlocksBuildConfig::Show | ( | void | ) |
Prints build configuration contents to standard output.
|
inline |
|
inline |
|
inline |
Returns reference to the set of toolchains in build configuration.
|
private |
|
private |
|
private |
|
private |
Controls the way of object file names generation.
When m_FlatObjectNames is set to true, file names of build units are processed depending on CCodeBlocksBuildConfig::m_FlatObjectNames value.
|
private |
Controls the way of object file names generation.
When m_FlatObjectPaths is set to true, file names of build units including file path are processed using FlatFileName(const CString& FileName) function, otherwise, path to build unit is not used for composing path to corresponding object file and all object files will be created in one directory. This option works only if CCodeBlocksBuildConfig::m_FlatObjectNames is set to true.
|
private |
Configuration of a set of global variables.
|
private |
|
private |
|
private |
|
private |
|
private |
Allows generation of multi-line object file lists.
|
private |
Allows generation of multi-line option lists.
|
private |
|
private |
Configuration of a set of platforms.
|
private |
|
private |
|
private |
|
private |
Configuration of a set of build utilities.