summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-LINK_GROUP/library-ignored.cmake
blob: b3f19a7b543b0b022424054d4fccb258f67caa08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
enable_language(C)

set(CMAKE_C_LINK_GROUP_USING_feat_SUPPORTED TRUE)
set(CMAKE_C_LINK_GROUP_USING_feat "--start" "--end")

add_library(dep OBJECT empty.c)

add_library(lib SHARED empty.c)

add_library(front INTERFACE)
target_link_libraries(front INTERFACE lib)


add_library(lib2 SHARED empty.c)
target_link_libraries(lib2 PRIVATE "$<LINK_GROUP:feat,front,dep>")