mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 09:59:20 -05:00
9d83a1ed1f
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.
13 lines
260 B
CMake
13 lines
260 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
install(
|
|
PACKAGE_INFO foo
|
|
DESTINATION cps
|
|
EXPORT foo
|
|
VERSION 1.2.3
|
|
VERSION_SCHEMA simple
|
|
COMPAT_VERSION 1.2.0
|
|
DEFAULT_TARGETS foo
|
|
DEFAULT_CONFIGURATIONS release debug
|
|
)
|