80 void Read(
const TiXmlElement *ProjectRoot);
CStringList m_LinkerOptions
Project-wide list of linker options.
Definition: cbproject.h:51
CString m_Title
Title of the project.
Definition: cbproject.h:45
bool m_SinglePlatform
Indicates that makefile should be generated only for one platform.
Definition: cbproject.h:65
int m_VersionMinor
Minor version number.
Definition: cbproject.h:44
void Read(const TiXmlElement *ProjectRoot)
Reads the project settings from an XML document.
Definition: cbproject.cpp:81
CString ToolChainSuffix(const int ToolChainIndex, CCodeBlocksBuildConfig &Config)
Definition: cbproject.cpp:617
Dependency information for build units in a project.
Definition: depsearch.h:63
int m_VersionMajor
Major version number.
Definition: cbproject.h:43
std::vector< CToolChain * > m_ToolChainIndex
List of toolchains valid for a platform.
Definition: cbproject.h:69
Definition: cbptarget.h:31
CStringList m_CompilerDirectories
Project-wide list of search directories for compiler(s).
Definition: cbproject.h:50
CString m_DefaultTarget
Name of the default build target of the project.
Definition: cbproject.h:46
Build unit description.
Definition: cbpunit.h:32
void SortUnitsByWeight(void)
Sorts project units by weight in ascending order.
Definition: cbproject.cpp:379
CStringList m_LinkerLibraries
Project-wide list of libraries to link with the project.
Definition: cbproject.h:52
std::vector< CBuildTarget * > m_BuildTargetIndex
List of build targets valid for a platform.
Definition: cbproject.h:66
CStringList m_Platforms
List of platforms used in the project.
Definition: cbproject.h:63
std::vector< int > m_TargetToolChainIndex
Definition: cbproject.h:70
std::vector< CBuildTarget * > m_BuildTargets
List of build targets of the project.
Definition: cbproject.h:59
std::vector< CBuildUnit * > m_UnitIndex
List of build units valid for a build target.
Definition: cbproject.h:68
Definition: stlstrings.h:98
void UpdatePlatformIndex(const size_t Platform, CCodeBlocksBuildConfig &Config)
Updates lists of build targets, virtual build targets and toolchains.
Definition: cbproject.cpp:457
CStringList m_LinkerDirectories
Project-wide list of search directories for linker.
Definition: cbproject.h:53
std::vector< CVirtualTarget * > m_VirtualTargetIndex
List of virtual build targets valid for a platform.
Definition: cbproject.h:67
static CString DecorateTargetName(const CString &TargetName, const int Case=2)
Makes a makefile-compatible build target name from the given name.
Definition: cbproject.cpp:593
Definition: stlstrings.h:32
void Show(void)
Prints the project contents to standard output.
Definition: cbproject.cpp:393
CStringList m_AfterBuildCommands
Project-wide list of commands that should be executed after the build process is finished.
Definition: cbproject.h:56
Definition: cbptarget.h:137
bool m_ExtendedObjectNames
Controls how object files are named.
Definition: cbproject.h:48
Build configuration.
Definition: cbbuildcfg.h:32
CString m_Compiler
Name (alias) of the default toolchain for the project.
Definition: cbproject.h:47
Makefile definition.
Definition: makefile.h:99
CMakefile m_Makefile
Contains object-based description of makefile for the project.
Definition: cbproject.h:74
CStringList m_BeforeBuildCommands
Project-wide list of commands that should be executed prior to starting the build process...
Definition: cbproject.h:55
bool GenerateMakefile(const CString &FileName, CCodeBlocksBuildConfig &Config)
Generates makefile text and writes it to the file specified by FileName.
Definition: cbproject.cpp:637
~CCodeBlocksProject(void)
Destroys project.
Definition: cbproject.cpp:40
Project description.
Definition: cbproject.h:39
bool LoadProject(const CString &FileName)
Loads a project from a file specified by FileName.
Definition: cbproject.cpp:332
std::vector< CBuildUnit * > m_Units
List of build units of the project.
Definition: cbproject.h:61
static CString DecorateVariableName(const CString &VariableName, const int Case=0)
Makes a makefile-compatible macro variable name from the given name.
Definition: cbproject.cpp:605
CConfiguration m_Environment
Symbol table for environment variables.
Definition: cbproject.h:62
bool m_ForceBeforeBuildCommands
Makes the execution of the project-wide before-build commands unconditional.
Definition: cbproject.h:57
void Clear(void)
Resets the project to the initial state.
Definition: cbproject.cpp:45
Unit dependency information gathering.
Object-based makefile generation.
Definition: stlconfig.h:26
void UpdateTargetIndex(const int Target, CCodeBlocksBuildConfig &Config)
Updates list of build units.
Definition: cbproject.cpp:566
CCodeBlocksProject(void)
Creates project.
Definition: cbproject.cpp:35
CStringList m_CompilerOptions
Project-wide list of compiler options.
Definition: cbproject.h:49
bool m_ForceAfterBuildCommands
Makes the execution of the project-wide after-build commands unconditional.
Definition: cbproject.h:58
std::vector< CVirtualTarget * > m_VirtualTargets
List of virtual build targets of the project.
Definition: cbproject.h:60
CDependencyInfo m_Dependencies
Stores dependencies of build units.
Definition: cbproject.h:72
CStringList m_ResourceCompilerDirectories
Project-wide list of search directories for resource compiler.
Definition: cbproject.h:54