mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -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.
10 lines
350 B
CMake
10 lines
350 B
CMake
add_library(mammal INTERFACE)
|
|
add_library(canine INTERFACE)
|
|
target_link_libraries(canine INTERFACE mammal)
|
|
|
|
install(TARGETS mammal EXPORT mammal DESTINATION .)
|
|
install(TARGETS canine EXPORT canine DESTINATION .)
|
|
|
|
install(PACKAGE_INFO foo DESTINATION cps EXPORT mammal VERSION 1.0)
|
|
install(PACKAGE_INFO foo DESTINATION cps EXPORT canine APPENDIX dog)
|