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
cbbuildmgr.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 CBBUILDMGR_H
21
#define CBBUILDMGR_H
22
//------------------------------------------------------------------------------
23
#include "
stlstrings.h
"
24
#include "
cbproject.h
"
25
#include "
cbworkspace.h
"
26
//#include "toolchains.h"
27
#include "
cbbuildcfg.h
"
28
//------------------------------------------------------------------------------
29
30
class
TiXmlElement;
31
32
class
CCodeBlocksBuildManager
33
{
34
private
:
35
CCodeBlocksWorkspace
m_Workspace
;
36
CCodeBlocksProject
m_Project
;
37
CCodeBlocksBuildConfig
m_Config
;
38
bool
m_ProjectLoaded
;
39
bool
m_WorkspaceLoaded
;
40
protected
:
41
public
:
42
CPlatformSet
&
Platforms
(
void
) {
return
m_Config
.
Platforms
(); }
43
CToolChainSet
&
ToolChains
(
void
) {
return
m_Config
.
ToolChains
(); }
44
CCodeBlocksBuildConfig
&
Config
(
void
) {
return
m_Config
; }
45
void
Clear
(
void
);
46
bool
LoadProjectOrWorkspace
(
const
CString
& FileName);
47
void
Show
(
void
);
48
void
GenerateMakefile
(
const
CString
& FileName);
49
public
:
50
CCodeBlocksBuildManager
(
void
);
51
~CCodeBlocksBuildManager
(
void
);
52
};
53
54
#endif
55
//------------------------------------------------------------------------------
Generated on Sun Jun 9 2013 10:55:51 for cbp2make by
1.8.4