https://github.com/Kitware/CMake
Raw File
Tip revision: 554ebf643dfad2eb6877c3d5530b005cee453513 authored by Brad King on 08 July 2021, 13:46:27 UTC
CMake 3.21.0-rc3
Tip revision: 554ebf6
CMakeLists.txt
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"
)
back to top