b655865bbf
Add a new signature to help populate INTERFACE_LINK_LIBRARIES and LINK_LIBRARIES cleanly in a single call. Add policy CMP0023 to control whether the keyword signatures can be mixed with uses of the plain signatures on the same target.
7 lines
156 B
CMake
7 lines
156 B
CMake
|
|
add_library(foo empty_vs6_1.cpp)
|
|
add_library(bar empty_vs6_2.cpp)
|
|
add_library(bat empty_vs6_3.cpp)
|
|
|
|
target_link_libraries(foo LINK_PUBLIC bar PRIVATE bat)
|