cbp2make
Makefile generation tool for Code::Blocks IDE
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cbbuildcfg.h
Go to the documentation of this file.
1
/*
2
cbp2make : Makefile generation tool for the Code::Blocks IDE
3
Copyright (C) 2010-2013 Mirai Computing (mirai.computing@gmail.com)
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
//------------------------------------------------------------------------------
20
#ifndef CBBUILDCFG_H
21
#define CBBUILDCFG_H
22
//------------------------------------------------------------------------------
23
#include "
stlstrings.h
"
24
#include "
platforms.h
"
25
#include "
toolchains.h
"
26
#include "
cbglobalvar.h
"
27
#include "
cbhelper.h
"
28
//------------------------------------------------------------------------------
29
30
class
TiXmlElement;
31
32
class
CCodeBlocksBuildConfig
33
{
34
private
:
35
CPlatformSet
m_Platforms
;
36
CToolChainSet
m_ToolChains
;
37
CGlobalVariableConfig
m_GlobalVariables
;
38
CStringList
m_Targets
;
39
CString
m_DefaultOptions
;
40
int
m_TargetNameCase
;
41
int
m_MacroVariableCase
;
42
int
m_QuotePathMode
;
43
bool
m_NumericToolchainSuffix
;
44
bool
m_FlatObjectNames
;
45
bool
m_FlatObjectPaths
;
46
bool
m_MultilineObjects
;
47
bool
m_MultilineOptions
;
48
bool
m_IncludeDependencies
;
49
bool
m_KeepObjectDirectories
;
50
bool
m_KeepOutputDirectories
;
51
bool
m_BeQuiet
;
52
bool
m_BeVerbose
;
53
public
:
54
CPlatformSet
&
Platforms
(
void
) {
return
m_Platforms
; }
55
CToolChainSet
&
ToolChains
(
void
) {
return
m_ToolChains
; }
56
CGlobalVariableConfig
&
GlobalVariables
(
void
) {
return
m_GlobalVariables
; }
57
CStringList
&
Targets
(
void
) {
return
m_Targets
; }
58
CString
&
DefaultOptions
(
void
) {
return
m_DefaultOptions
; }
59
int
&
TargetNameCase
(
void
) {
return
m_TargetNameCase
; }
60
int
&
MacroVariableCase
(
void
) {
return
m_MacroVariableCase
; }
61
int
&
QuotePathMode
(
void
) {
return
m_QuotePathMode
; }
62
bool
&
NumericToolchainSuffix
(
void
) {
return
m_NumericToolchainSuffix
; }
63
bool
&
FlatObjectNames
(
void
) {
return
m_FlatObjectNames
; }
64
bool
&
FlatObjectPaths
(
void
) {
return
m_FlatObjectPaths
; }
65
bool
&
MultilineObjects
(
void
) {
return
m_MultilineObjects
; }
66
bool
&
MultilineOptions
(
void
) {
return
m_MultilineOptions
; }
67
bool
&
IncludeDependencies
(
void
) {
return
m_IncludeDependencies
; }
68
bool
&
KeepObjectDirectories
(
void
) {
return
m_KeepObjectDirectories
; }
69
bool
&
KeepOutputDirectories
(
void
) {
return
m_KeepOutputDirectories
; }
70
bool
&
BeQuiet
(
void
) {
return
m_BeQuiet
; }
71
bool
&
BeVerbose
(
void
) {
return
m_BeVerbose
; }
72
public
:
73
void
Clear
(
void
);
74
bool
Load
(
const
CString
& FileName);
75
bool
Save
(
const
CString
& FileName);
76
void
Show
(
void
);
77
public
:
78
CCodeBlocksBuildConfig
(
void
);
79
~CCodeBlocksBuildConfig
(
void
);
80
};
81
82
#endif
83
//------------------------------------------------------------------------------
Generated on Sun Jun 9 2013 10:55:51 for cbp2make by
1.8.4