mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 23:28:32 -05:00
1edf138506
For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
5 lines
158 B
Plaintext
5 lines
158 B
Plaintext
cmake_minimum_required(VERSION 3.5)
|
|
project(CTestCoverage@CASE_NAME@ NONE)
|
|
include(CTest)
|
|
add_test(NAME RunCMakeVersion COMMAND "${CMAKE_COMMAND}" --version)
|