summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-04-09 12:53:47 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-04-09 12:53:47 (GMT)
commit38d4c1ed0503917954e4ad6d29898006af89c67d (patch)
tree75154e964b18f11b4d71889f63403340bd770b9c /Source/cmExtraCodeBlocksGenerator.h
parentd2ed3c7dee72a41339ff95fb7aefac60778234df (diff)
downloadCMake-38d4c1ed0503917954e4ad6d29898006af89c67d.zip
CMake-38d4c1ed0503917954e4ad6d29898006af89c67d.tar.gz
CMake-38d4c1ed0503917954e4ad6d29898006af89c67d.tar.bz2
CodeBlocks: improve support for OBJECT libraries
This commit creates a dummy text file for each OBJECT library for the CodeBlocks generator, so the generated project file can reference a unique file for each target. Most probably these files are unused. Alex
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.h')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.h b/Source/cmExtraCodeBlocksGenerator.h
index 57751fc..e0a64ca 100644
--- a/Source/cmExtraCodeBlocksGenerator.h
+++ b/Source/cmExtraCodeBlocksGenerator.h
@@ -44,6 +44,8 @@ private:
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
const std::string& filename);
+ std::string CreateDummyTargetFile(cmMakefile* mf, cmTarget* target) const;
+
std::string GetCBCompilerId(const cmMakefile* mf);
int GetCBTargetType(cmTarget* target);
std::string BuildMakeCommand(const std::string& make, const char* makefile,