Tests: Add missing cmake_minimum_required calls

This commit is contained in:
Brad King 2024-11-15 17:54:24 -05:00
parent a35f4cbbca
commit 68a07a6610
9 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.10)
project (EmptyProperty)
set_property(DIRECTORY APPEND

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.10)
project(LibName)
# this is a test to make sure that relative path
# LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH work

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.10)
project( LinkLine )
# Makes sure that the library order as specified by the user are

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.10)
project( LinkLineOrder )
# This tests ensures that the order of libraries are preserved when

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.10)
# a simple test case
project (PreOrder)
set(CMAKE_IGNORE_DEPENDENCIES_ORDERING 1)

View File

@ -45,6 +45,7 @@ endforeach()
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/ExternalFrameworks/CMakeLists.txt
[[
cmake_minimum_required(VERSION 3.31)
project(ExternalFrameworks)
add_library(staticFrameworkExt STATIC func6.c)
add_library(sharedFrameworkExt SHARED func7.c)

View File

@ -1,4 +1,4 @@
# a SBCS test case
cmake_minimum_required(VERSION 3.10)
project (SBCS)
add_definitions(-D_SBCS)

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.10)
set(CMAKE_SUPPRESS_REGENERATION 1)
project(LIB1)

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 3.10)
set(CMAKE_SUPPRESS_REGENERATION 1)
project(VSEXTERNAL_LIB2)