summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/export/DependOnDoubleExport.cmake
blob: 8d108d7ef479cdf1b771a95b81a8480714fe2d70 (plain)
1
2
3
4
5
6
7
add_library(doubleexported INTERFACE)
install(TARGETS doubleexported EXPORT exportset)
export(TARGETS doubleexported FILE "${CMAKE_CURRENT_BINARY_DIR}/manual.cmake")
export(EXPORT exportset FILE "${CMAKE_CURRENT_BINARY_DIR}/exportset.cmake")
add_library(exported INTERFACE)
target_link_libraries(exported INTERFACE doubleexported)
export(TARGETS exported FILE "${CMAKE_CURRENT_BINARY_DIR}/exports.cmake")