summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeBlocksGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 11:00:51 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-22 17:23:42 (GMT)
commit2e9333a1d0979c4d6ecfe8fd16382ea6526dec9c (patch)
treed6d425bfc30783d4fcb5c45c3584fe1ebdb20c23 /Source/cmExtraCodeBlocksGenerator.h
parent820986edfff97779bb0c84fd9da3b284921c8ae4 (diff)
downloadCMake-2e9333a1d0979c4d6ecfe8fd16382ea6526dec9c.zip
CMake-2e9333a1d0979c4d6ecfe8fd16382ea6526dec9c.tar.gz
CMake-2e9333a1d0979c4d6ecfe8fd16382ea6526dec9c.tar.bz2
C::B: Get the Makefile from the LocalGenerator, not vice-versa.
The Makefile is a configure-time concept, and the LocalGenerator is a generate time concept. The LocalGenerator should not be available from the Makefile.
Diffstat (limited to 'Source/cmExtraCodeBlocksGenerator.h')
-rw-r--r--Source/cmExtraCodeBlocksGenerator.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmExtraCodeBlocksGenerator.h b/Source/cmExtraCodeBlocksGenerator.h
index 97da1b8..e5ede9a 100644
--- a/Source/cmExtraCodeBlocksGenerator.h
+++ b/Source/cmExtraCodeBlocksGenerator.h
@@ -48,7 +48,8 @@ private:
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
const std::string& filename);
- std::string CreateDummyTargetFile(cmMakefile* mf, cmTarget* target) const;
+ std::string CreateDummyTargetFile(cmLocalGenerator* lg,
+ cmTarget* target) const;
std::string GetCBCompilerId(const cmMakefile* mf);
int GetCBTargetType(cmTarget* target);
@@ -58,7 +59,7 @@ private:
const std::string& targetName,
cmTarget* target,
const char* make,
- const cmMakefile* makefile,
+ const cmLocalGenerator* lg,
const char* compiler);
};