diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-01-10 12:51:29 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-12 19:18:11 (GMT) |
commit | 2cbf031190e6b7981974e452c49dafd73dea4a4b (patch) | |
tree | a706fbe1d44948b8f13caff072551c5af5b26638 /Source/cmGlobalGenerator.h | |
parent | b4ff38a5ef8bfae4d64ecc94346dd97134edb6ae (diff) | |
download | CMake-2cbf031190e6b7981974e452c49dafd73dea4a4b.zip CMake-2cbf031190e6b7981974e452c49dafd73dea4a4b.tar.gz CMake-2cbf031190e6b7981974e452c49dafd73dea4a4b.tar.bz2 |
cmGlobalGenerator: Make SelectMakeProgram const.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index e2d7515..3733288 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -93,7 +93,7 @@ public: * Intended to be called from EnableLanguage. */ void ResolveLanguageCompiler(const std::string &lang, cmMakefile *mf, - bool optional); + bool optional) const; /** * Try to determine system infomation, get it from another generator @@ -342,7 +342,7 @@ protected: void CreateQtAutoGeneratorsTargets(AutogensType& autogens); std::string SelectMakeProgram(const char* makeProgram, - std::string makeDefault = ""); + std::string makeDefault = "") const; // Fill the ProjectMap, this must be called after LocalGenerators // has been populated. @@ -418,8 +418,8 @@ private: void FinalizeTargetCompileInfo(); virtual void PrintCompilerAdvice(std::ostream& os, std::string lang, - const char* envVar); - void CheckCompilerIdCompatibility(cmMakefile* mf, std::string lang); + const char* envVar) const; + void CheckCompilerIdCompatibility(cmMakefile* mf, std::string lang) const; cmExternalMakefileProjectGenerator* ExtraGenerator; |