mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 07:40:03 -06:00
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.
6 lines
215 B
CMake
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)
|