mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user