summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr-JOM.txt
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 /Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr-JOM.txt
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 'Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr-JOM.txt')
-rw-r--r--Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr-JOM.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr-JOM.txt b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr-JOM.txt
new file mode 100644
index 0000000..4b42ea6
--- /dev/null
+++ b/Tests/RunCMake/CompilerNotFound/BadCompilerCXX-stderr-JOM.txt
@@ -0,0 +1,17 @@
+CMake Error at BadCompilerCXX.cmake:2 \(enable_language\):
+ The CMAKE_CXX_COMPILER:
+
+ no-CXX-compiler
+
+ is not a full path and was not found in the PATH.
+
+ To use the JOM generator with Visual C\+\+, cmake must be run from a shell
+ that can use the compiler cl from the command line. This environment is
+ unable to invoke the cl compiler. To fix this problem, run cmake from the
+ Visual Studio Command Prompt \(vcvarsall.bat\).
+
+ Tell CMake where to find the compiler by setting either the environment
+ variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
+ to the compiler, or to the compiler name if it is in the PATH.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$