4e039a9a98
Port most CMakeTestBadCommandLines test cases to RunCMake.CommandLine and drop the former test. Add validation of expected results, which was not done by the old test.
6 lines
246 B
CMake
6 lines
246 B
CMake
enable_language(C)
|
|
# Look for a source tree left by enable_language internal checks.
|
|
if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/CMakeTmp/CMakeLists.txt)
|
|
message(FATAL_ERROR "--debug-trycompile should leave the source behind")
|
|
endif()
|