mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-24 23:49:18 -06:00
Rename the RunCMake/PackageInfo and RunCMake/CpsExportImport tests to indicate that they cover CPS generated by the install command. This opens space for similar tests that will cover CPS generation via the export command.
12 lines
348 B
CMake
12 lines
348 B
CMake
add_library(foo foo.cxx)
|
|
add_library(bar foo.cxx)
|
|
target_link_libraries(bar foo)
|
|
|
|
install(TARGETS foo EXPORT foo)
|
|
install(EXPORT foo DESTINATION cmake NAMESPACE ${NAMESPACE})
|
|
install(PACKAGE_INFO foo EXPORT foo DESTINATION cps)
|
|
|
|
install(TARGETS bar EXPORT bar)
|
|
install(EXPORT bar DESTINATION .)
|
|
install(PACKAGE_INFO bar EXPORT bar DESTINATION cps)
|