cmake_minimum_required (VERSION 2.8.12) 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" )