Files
CMake/Tests/RunCMake/target_sources/empty_keyword_args.cmake
Ben Boeckel 4201a11c2b Tests: add tests for empty-value keyword arguments in target_*
Not all of these commands accept non-compilable (i.e., IMPORTED)
targets, so those calls are currently just commented out. If they ever
do start to accept them, the tests should be enabled.
2018-10-26 12:08:05 -04:00

6 lines
215 B
CMake

add_library(iface INTERFACE)
target_sources(iface PUBLIC PRIVATE INTERFACE)
# Cannot be called with non-compilable targets.
#add_library(imported UNKNOWN IMPORTED)
#target_sources(imported PUBLIC PRIVATE INTERFACE)