diff options
author | Brad King <brad.king@kitware.com> | 2013-03-12 22:12:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-03-12 22:17:40 (GMT) |
commit | 2e1c2bd2dd97e426944d6ac18e4073ec26ddf64c (patch) | |
tree | ab1b249476f3b36baac84b5a970da85dcbb51c10 /Tests/RunCMake/build_command/BeforeProject-stderr.txt | |
parent | 4e5cb375901293e8fedb5d8e44d1481e3f6799d6 (diff) | |
download | CMake-2e1c2bd2dd97e426944d6ac18e4073ec26ddf64c.zip CMake-2e1c2bd2dd97e426944d6ac18e4073ec26ddf64c.tar.gz CMake-2e1c2bd2dd97e426944d6ac18e4073ec26ddf64c.tar.bz2 |
build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005)
If CMAKE_MAKE_PROGRAM is not set fail with an error message instead of
crashing. Suggest calling project() or enable_language() first to
ensure that CMAKE_MAKE_PROGRAM is set.
Diffstat (limited to 'Tests/RunCMake/build_command/BeforeProject-stderr.txt')
-rw-r--r-- | Tests/RunCMake/build_command/BeforeProject-stderr.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/build_command/BeforeProject-stderr.txt b/Tests/RunCMake/build_command/BeforeProject-stderr.txt new file mode 100644 index 0000000..d3d7661 --- /dev/null +++ b/Tests/RunCMake/build_command/BeforeProject-stderr.txt @@ -0,0 +1,5 @@ +CMake Error at BeforeProject.cmake:[0-9]+ \(build_command\): + build_command\(\) requires CMAKE_MAKE_PROGRAM to be defined. Call project\(\) + or enable_language\(\) first. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) |