53b10fdad7
Commit 239b0c6b (Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES., 2013-10-20) extended a test which excercised the logic of the LINK_ONLY generator expression. Commit ef10b87c (CMP0022: Plain target_link_libraries must populate link interface, 2013-11-02) removed the instance of LINK_ONLY which was excercised by that test. Add a new test which excercises the other instance of LINK_ONLY by setting the CMP0022 policy to NEW and consuming the contents of the INTERFACE_LINK_LIBRARIES target property.
15 lines
407 B
CMake
15 lines
407 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(CMP0022-WARN)
|
|
run_cmake(CMP0022-WARN-tll)
|
|
run_cmake(CMP0022-WARN-static)
|
|
run_cmake(CMP0022-WARN-empty-old)
|
|
run_cmake(CMP0022-NOWARN-exe)
|
|
run_cmake(CMP0022-NOWARN-shared)
|
|
run_cmake(CMP0022-NOWARN-static)
|
|
run_cmake(CMP0022-NOWARN-static-NEW)
|
|
run_cmake(CMP0022-NOWARN-static-link_libraries)
|
|
run_cmake(CMP0022-export)
|
|
run_cmake(CMP0022-export-exe)
|
|
run_cmake(CMP0022-install-export)
|