Tests: Do not enable languages in all cases of RunCMake.CMP0037
This commit is contained in:
parent
2d0b3e6ed2
commit
103501c4e0
@ -1,4 +1,4 @@
|
||||
|
||||
enable_language(CXX)
|
||||
cmake_policy(SET CMP0037 NEW)
|
||||
|
||||
add_library("lib:colon" empty.cpp)
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
enable_language(CXX)
|
||||
cmake_policy(SET CMP0037 NEW)
|
||||
|
||||
add_library(all empty.cpp)
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
enable_language(CXX)
|
||||
cmake_policy(SET CMP0037 NEW)
|
||||
|
||||
add_library("lib with spaces" empty.cpp)
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
enable_language(CXX)
|
||||
cmake_policy(SET CMP0037 OLD)
|
||||
|
||||
add_library(all empty.cpp)
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
enable_language(CXX)
|
||||
cmake_policy(SET CMP0037 OLD)
|
||||
|
||||
add_library("lib with spaces" empty.cpp)
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
enable_language(CXX)
|
||||
add_library("lib:colon" empty.cpp)
|
||||
add_executable("exe:colon" empty.cpp)
|
||||
add_custom_target("custom:colon")
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
enable_language(CXX)
|
||||
add_library("lib with spaces" empty.cpp)
|
||||
add_executable("exe with spaces" empty.cpp)
|
||||
add_custom_target("custom with spaces")
|
||||
|
@ -1,3 +1,3 @@
|
||||
cmake_minimum_required(VERSION 2.8.4)
|
||||
project(${RunCMake_TEST} CXX)
|
||||
project(${RunCMake_TEST} NONE)
|
||||
include(${RunCMake_TEST}.cmake)
|
||||
|
Loading…
Reference in New Issue
Block a user