summaryrefslogtreecommitdiff
path: root/Source/cmExtraCodeBlocksGenerator.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2015-03-06 09:48:33 +0100
committerNils Gladitz <nilsgladitz@gmail.com>2015-03-06 09:48:33 +0100
commit099b0cab1d12b5b3734342ac516c8d42c78cdef7 (patch)
tree4e665c055f910c243c28c4626b4e3e6e7f50cd10 /Source/cmExtraCodeBlocksGenerator.h
parent8f38b8a4433b26da8f64b705fa82e520c40106d5 (diff)
downloadcmake-099b0cab1d12b5b3734342ac516c8d42c78cdef7.tar.gz
CodeBlocks: Declare which source file belongs to which targets.
This should allow the consuming IDE to determine which target specific preprocessor definitions and include directories are relevant for a given source file.
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.h')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.h b/Source/cmExtraCodeBlocksGenerator.h
index 0435ad8c93..97da1b8623 100644
--- a/Source/cmExtraCodeBlocksGenerator.h
+++ b/Source/cmExtraCodeBlocksGenerator.h
@@ -39,6 +39,10 @@ public:
virtual void Generate();
private:
+ struct CbpUnit
+ {
+ std::vector<const cmTarget*> Targets;
+ };
void CreateProjectFile(const std::vector<cmLocalGenerator*>& lgs);