mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-05 06:40:26 -06:00
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`.
8 lines
212 B
CMake
8 lines
212 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(${RunCMake_TEST} CXX)
|
|
|
|
# MSVC creates extra targets which pollute the stderr unless we set this.
|
|
set(CMAKE_SUPPRESS_REGENERATION TRUE)
|
|
|
|
include(${RunCMake_TEST}.cmake)
|