diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-04-09 12:53:47 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-04-09 12:53:47 (GMT) |
commit | 38d4c1ed0503917954e4ad6d29898006af89c67d (patch) | |
tree | 75154e964b18f11b4d71889f63403340bd770b9c /Source/cmExtraCodeBlocksGenerator.h | |
parent | d2ed3c7dee72a41339ff95fb7aefac60778234df (diff) | |
download | CMake-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.h | 2 |
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, |