Files
CMake/Tests/RunCMake/BuiltinTargets/TestDependsAll-No-build-check.cmake
T
Brad King eaa00d4dfa Tests: Add case to verify that 'make test' does not 'make all'
Place it in a new `RunCMake.BuiltinTargets` umbrella test meant to cover
behavior of targets builtin to CMake.
2023-11-10 13:19:08 -05:00

4 lines
150 B
CMake

if(EXISTS ${RunCMake_TEST_BINARY_DIR}/custom-output.txt)
set(RunCMake_TEST_FAILED "Building 'test' target incorrectly built 'all' target.")
endif()