mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 11:09:56 -06:00
7 lines
215 B
CMake
7 lines
215 B
CMake
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()
|