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.
This commit is contained in:
Nils Gladitz
2015-03-06 09:48:33 +01:00
parent 8f38b8a443
commit 099b0cab1d
2 changed files with 42 additions and 33 deletions
+4
View File
@@ -39,6 +39,10 @@ public:
virtual void Generate();
private:
struct CbpUnit
{
std::vector<const cmTarget*> Targets;
};
void CreateProjectFile(const std::vector<cmLocalGenerator*>& lgs);