cbp2make
Makefile generation tool for Code::Blocks IDE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
33 {
34  private:
51  bool m_BeQuiet;
53  public:
54  CPlatformSet& Platforms(void) { return m_Platforms; }
57  CStringList& Targets(void) { return m_Targets; }
59  int& TargetNameCase(void) { return m_TargetNameCase; }
60  int& MacroVariableCase(void) { return m_MacroVariableCase; }
61  int& QuotePathMode(void) { return m_QuotePathMode; }
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; }
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:
80 };
81 
82 #endif
83 //------------------------------------------------------------------------------