mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 20:46:37 +08:00
Tests: Do not enable languages in all cases of RunCMake.CMP0037
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
|
enable_language(CXX)
|
||||||
cmake_policy(SET CMP0037 NEW)
|
cmake_policy(SET CMP0037 NEW)
|
||||||
|
|
||||||
add_library("lib:colon" empty.cpp)
|
add_library("lib:colon" empty.cpp)
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
|
enable_language(CXX)
|
||||||
cmake_policy(SET CMP0037 NEW)
|
cmake_policy(SET CMP0037 NEW)
|
||||||
|
|
||||||
add_library(all empty.cpp)
|
add_library(all empty.cpp)
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
|
enable_language(CXX)
|
||||||
cmake_policy(SET CMP0037 NEW)
|
cmake_policy(SET CMP0037 NEW)
|
||||||
|
|
||||||
add_library("lib with spaces" empty.cpp)
|
add_library("lib with spaces" empty.cpp)
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
|
enable_language(CXX)
|
||||||
cmake_policy(SET CMP0037 OLD)
|
cmake_policy(SET CMP0037 OLD)
|
||||||
|
|
||||||
add_library(all empty.cpp)
|
add_library(all empty.cpp)
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
|
enable_language(CXX)
|
||||||
cmake_policy(SET CMP0037 OLD)
|
cmake_policy(SET CMP0037 OLD)
|
||||||
|
|
||||||
add_library("lib with spaces" empty.cpp)
|
add_library("lib with spaces" empty.cpp)
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
|
enable_language(CXX)
|
||||||
add_library("lib:colon" empty.cpp)
|
add_library("lib:colon" empty.cpp)
|
||||||
add_executable("exe:colon" empty.cpp)
|
add_executable("exe:colon" empty.cpp)
|
||||||
add_custom_target("custom:colon")
|
add_custom_target("custom:colon")
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
|
enable_language(CXX)
|
||||||
add_library("lib with spaces" empty.cpp)
|
add_library("lib with spaces" empty.cpp)
|
||||||
add_executable("exe with spaces" empty.cpp)
|
add_executable("exe with spaces" empty.cpp)
|
||||||
add_custom_target("custom with spaces")
|
add_custom_target("custom with spaces")
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
cmake_minimum_required(VERSION 2.8.4)
|
cmake_minimum_required(VERSION 2.8.4)
|
||||||
project(${RunCMake_TEST} CXX)
|
project(${RunCMake_TEST} NONE)
|
||||||
include(${RunCMake_TEST}.cmake)
|
include(${RunCMake_TEST}.cmake)
|
||||||
|
Reference in New Issue
Block a user