CMake/Tests/CTestTestVerboseOutput/CMakeLists.txt

12 lines
244 B
CMake

cmake_minimum_required (VERSION 2.6)
project(CTestTestVerboseOutput)
include(CTest)
add_executable(nop nop.c)
add_test(NAME TestWithProperties COMMAND nop)
set_property(TEST TestWithProperties PROPERTY ENVIRONMENT
"foo=bar"
"this=that"
)