summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalJOMMakefileGenerator.h
diff options
context:
space:
mode:
authorJames Johnston <johnstonj.public@codenest.com>2015-08-05 21:23:07 (GMT)
committerJames Johnston <johnstonj.public@codenest.com>2015-08-06 17:32:43 (GMT)
commitafeb4eb243e01df5c7396dc346f2629b21115e2c (patch)
tree0ed8f16b6ebc6d9ad28e3fc2397821cb4c6afb7c /Source/cmGlobalJOMMakefileGenerator.h
parent22590805bffe74c3b4998152556561a2c2b6d177 (diff)
downloadCMake-afeb4eb243e01df5c7396dc346f2629b21115e2c.zip
CMake-afeb4eb243e01df5c7396dc346f2629b21115e2c.tar.gz
CMake-afeb4eb243e01df5c7396dc346f2629b21115e2c.tar.bz2
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/cmGlobalJOMMakefileGenerator.h')
-rw-r--r--Source/cmGlobalJOMMakefileGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalJOMMakefileGenerator.h b/Source/cmGlobalJOMMakefileGenerator.h
index 2185b23..1869fed 100644
--- a/Source/cmGlobalJOMMakefileGenerator.h
+++ b/Source/cmGlobalJOMMakefileGenerator.h
@@ -42,6 +42,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