diff options
author | James Johnston <johnstonj.public@codenest.com> | 2015-08-05 21:23:07 +0000 |
---|---|---|
committer | James Johnston <johnstonj.public@codenest.com> | 2015-08-06 17:32:43 +0000 |
commit | afeb4eb243e01df5c7396dc346f2629b21115e2c (patch) | |
tree | 0ed8f16b6ebc6d9ad28e3fc2397821cb4c6afb7c /Source/cmGlobalNMakeMakefileGenerator.h | |
parent | 22590805bffe74c3b4998152556561a2c2b6d177 (diff) | |
download | cmake-afeb4eb243e01df5c7396dc346f2629b21115e2c.tar.gz |
nmake/jom: Only warn about bad VS environment if compiler not found.
nmake and jom generators no longer warn about missing INCLUDE/LIB
environment variables unless the C/CXX compiler cannot be found. This
is useful if the user does not want to use these generators with the
Visual C++ compiler, or they do not want to enable any language.
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.h')
-rw-r--r-- | Source/cmGlobalNMakeMakefileGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.h b/Source/cmGlobalNMakeMakefileGenerator.h index dd72c4989e..3c8375aed1 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.h +++ b/Source/cmGlobalNMakeMakefileGenerator.h @@ -40,6 +40,9 @@ public: */ virtual void EnableLanguage(std::vector<std::string>const& languages, cmMakefile *, bool optional); +private: + void PrintCompilerAdvice(std::ostream& os, std::string const& lang, + const char* envVar) const; }; #endif |