summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-11-25 12:45:18 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-11-25 12:45:18 (GMT)
commitfc86a05455ff60f8a1f78431423c7cabe14caf63 (patch)
tree81a3e1e2e850de34ea960d9a1ca4e36043ba1a0d /Source/cmExtraCodeBlocksGenerator.h
parent38896657db4bfa52a0e2906aa86cf2de50b6a17e (diff)
downloadCMake-fc86a05455ff60f8a1f78431423c7cabe14caf63.zip
CMake-fc86a05455ff60f8a1f78431423c7cabe14caf63.tar.gz
CMake-fc86a05455ff60f8a1f78431423c7cabe14caf63.tar.bz2
STYLE: move the code for generating the XML for one target in a separate
function AppendTarget() -add "all" target -some syncing with the Eclipse generator Alex
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.h')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.h b/Source/cmExtraCodeBlocksGenerator.h
index 6daa976..b6be9d5 100644
--- a/Source/cmExtraCodeBlocksGenerator.h
+++ b/Source/cmExtraCodeBlocksGenerator.h
@@ -23,6 +23,7 @@
class cmLocalGenerator;
class cmMakefile;
class cmTarget;
+class cmGeneratedFileStream;
/** \class cmExtraCodeBlocksGenerator
* \brief Write CodeBlocks project files for Makefile based projects
@@ -55,6 +56,12 @@ private:
int GetCBTargetType(cmTarget* target);
std::string BuildMakeCommand(const std::string& make, const char* makefile,
const char* target);
+ void AppendTarget(cmGeneratedFileStream& fout,
+ const char* targetName,
+ cmTarget* target,
+ const char* make,
+ const cmMakefile* makefile,
+ const char* compiler);
};