mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 14:27:23 +00:00
d328dc6853
If a `ctest_*` command has CAPTURE_CMAKE_ERROR then any errors generated by cmake during that command will cause the value to be assigned `-1`. This will prevent a `ctest -S` script from returning non-zero unless the script explicitly calls `message(FATAL_ERROR)`.
5 lines
158 B
CMake
5 lines
158 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
project(CTestCoverage@CASE_NAME@ NONE)
|
|
include(CTest)
|
|
add_test(NAME RunCMakeVersion COMMAND "${CMAKE_COMMAND}" --version)
|