From afeb4eb243e01df5c7396dc346f2629b21115e2c Mon Sep 17 00:00:00 2001 From: James Johnston Date: Wed, 5 Aug 2015 21:23:07 +0000 Subject: 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. --- Source/cmGlobalJOMMakefileGenerator.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/cmGlobalJOMMakefileGenerator.h') diff --git a/Source/cmGlobalJOMMakefileGenerator.h b/Source/cmGlobalJOMMakefileGenerator.h index 2185b23c08..1869fed79b 100644 --- a/Source/cmGlobalJOMMakefileGenerator.h +++ b/Source/cmGlobalJOMMakefileGenerator.h @@ -42,6 +42,9 @@ public: */ virtual void EnableLanguage(std::vectorconst& languages, cmMakefile *, bool optional); +private: + void PrintCompilerAdvice(std::ostream& os, std::string const& lang, + const char* envVar) const; }; #endif -- cgit v1.2.1