mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 15:48:52 +00:00
84fac67f90
As a new feature it does not need to participate in CMP0024. Store cmExportBuildFileGenerator instances which correspond to the export(EXPORT) signature in a second map which does not own the pointers. This avoids the need to add cmExportBuildFileGenerator and dependencies to the bootstrap system.
7 lines
208 B
CMake
7 lines
208 B
CMake
|
|
add_library(iface INTERFACE)
|
|
install(TARGETS iface EXPORT ifaceExport)
|
|
|
|
export(EXPORT ifaceExport FILE "${CMAKE_CURRENT_BINARY_DIR}/theTargets.cmake")
|
|
include("${CMAKE_CURRENT_BINARY_DIR}/theTargets.cmake")
|