You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
245 B
8 lines
245 B
9 years ago
|
cmake_policy(SET CMP0064 NEW)
|
||
|
add_test(NAME TestThatExists COMMAND ${CMAKE_COMMAND} -E echo "A CMake Test")
|
||
|
if(TEST TestThatExists)
|
||
|
message(STATUS "if TestThatExists is true")
|
||
|
else()
|
||
|
message(FATAL_ERROR "if TestThatExists is false")
|
||
|
endif()
|