mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Remove basic CPS import and export from 'experimental' status. Update documentation and tests accordingly. Note that mapped exports (CMAKE_EXPERIMENTAL_MAPPED_PACKAGE_INFO) are still experimental.
11 lines
216 B
CMake
11 lines
216 B
CMake
add_library(foo INTERFACE)
|
|
install(TARGETS foo EXPORT foo DESTINATION .)
|
|
|
|
# Try exporting with an unrecognized schema.
|
|
export(
|
|
PACKAGE_INFO foo
|
|
EXPORT foo
|
|
VERSION "irrelevant"
|
|
VERSION_SCHEMA "unrecognized"
|
|
)
|