Merge topic 'add-link-search-static-properties-defaults'
18d7f8fb Tests: Move LINK_SEARCH_{START,END}_STATIC case to dedicated test
This commit is contained in:
commit
d38794996f
@ -139,6 +139,7 @@ add_RunCMake_test(GeneratorToolset)
|
||||
add_RunCMake_test(GNUInstallDirs)
|
||||
add_RunCMake_test(TargetPropertyGeneratorExpressions)
|
||||
add_RunCMake_test(Languages)
|
||||
add_RunCMake_test(LinkStatic)
|
||||
add_RunCMake_test(ObjectLibrary)
|
||||
add_RunCMake_test(Swift)
|
||||
add_RunCMake_test(TargetObjects)
|
||||
|
3
Tests/RunCMake/LinkStatic/CMakeLists.txt
Normal file
3
Tests/RunCMake/LinkStatic/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
cmake_minimum_required(VERSION 3.3)
|
||||
project(${RunCMake_TEST} NONE)
|
||||
include(${RunCMake_TEST}.cmake)
|
@ -1,4 +1,4 @@
|
||||
project(LinkSearchStatic)
|
||||
enable_language(C)
|
||||
|
||||
set(CMAKE_LINK_SEARCH_START_STATIC ON)
|
||||
add_executable(LinkSearchStartStaticInit1 LinkStatic.c)
|
3
Tests/RunCMake/LinkStatic/RunCMakeTest.cmake
Normal file
3
Tests/RunCMake/LinkStatic/RunCMakeTest.cmake
Normal file
@ -0,0 +1,3 @@
|
||||
include(RunCMake)
|
||||
|
||||
run_cmake(LINK_SEARCH_STATIC)
|
@ -1,4 +1,3 @@
|
||||
include(RunCMake)
|
||||
|
||||
run_cmake(LINK_LIBRARIES)
|
||||
run_cmake(LINK_SEARCH_STATIC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user