https://github.com/Kitware/CMake
Raw File
Tip revision: 010b50fda71feaff3abec4d13910f4a4bd1f13b0 authored by Brad King on 07 June 2017, 17:05:16 UTC
CMake 3.9.0-rc2
Tip revision: 010b50f
CMakeLists.txt
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"
)
back to top