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:
Brad King 2015-09-03 06:50:05 -04:00 committed by CMake Topic Stage
commit d38794996f
6 changed files with 8 additions and 2 deletions

View File

@ -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)

View File

@ -0,0 +1,3 @@
cmake_minimum_required(VERSION 3.3)
project(${RunCMake_TEST} NONE)
include(${RunCMake_TEST}.cmake)

View File

@ -1,4 +1,4 @@
project(LinkSearchStatic)
enable_language(C)
set(CMAKE_LINK_SEARCH_START_STATIC ON)
add_executable(LinkSearchStartStaticInit1 LinkStatic.c)

View File

@ -0,0 +1,3 @@
include(RunCMake)
run_cmake(LINK_SEARCH_STATIC)

View File

@ -1,4 +1,3 @@
include(RunCMake)
run_cmake(LINK_LIBRARIES)
run_cmake(LINK_SEARCH_STATIC)