From 2134514425d6b0f034f675ca87ec53e0462ade9c Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 25 Nov 2008 17:35:13 -0500 Subject: Added exports to install targets for libraries and preliminary install targets for the exports themselves --- sigbattle/CMakeLists.txt | 15 +++++++++++++++ sigcore/CMakeLists.txt | 15 +++++++++++++++ sigmod/CMakeLists.txt | 15 +++++++++++++++ signet/CMakeLists.txt | 15 +++++++++++++++ sigscript/CMakeLists.txt | 15 +++++++++++++++ sigworld/CMakeLists.txt | 15 +++++++++++++++ 6 files changed, 90 insertions(+) diff --git a/sigbattle/CMakeLists.txt b/sigbattle/CMakeLists.txt index f4854476..a1e9ab7c 100644 --- a/sigbattle/CMakeLists.txt +++ b/sigbattle/CMakeLists.txt @@ -56,12 +56,27 @@ TARGET_LINK_LIBRARIES(sigbattle LINK_INTERFACE_LIBRARIES INSTALL( TARGETS sigbattle + EXPORT + sigbattle_EXPORTS DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} COMPONENT runtime ) +# INSTALL( +# EXPORT +# sigbattle_EXPORTS +# NAMESPACE +# sigen_ +# DESTINATION +# ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/cmake/modules +# FILE +# SigbattleExportedLibraryTargets.cmake +# COMPONENT +# development +# ) + INSTALL( FILES ${sigbattle_HEADERS} diff --git a/sigcore/CMakeLists.txt b/sigcore/CMakeLists.txt index 9ec0d7a8..2f936a2c 100644 --- a/sigcore/CMakeLists.txt +++ b/sigcore/CMakeLists.txt @@ -36,12 +36,27 @@ TARGET_LINK_LIBRARIES(sigcore LINK_INTERFACE_LIBRARIES INSTALL( TARGETS sigcore + EXPORT + sigcore_EXPORTS DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} COMPONENT runtime ) +# INSTALL( +# EXPORT +# sigcore_EXPORTS +# NAMESPACE +# sigen_ +# DESTINATION +# ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/cmake/modules +# FILE +# SigcoreExportedLibraryTargets.cmake +# COMPONENT +# development +# ) + INSTALL( FILES ${sigcore_HEADERS} diff --git a/sigmod/CMakeLists.txt b/sigmod/CMakeLists.txt index 5ec1cff4..ad10aa4a 100644 --- a/sigmod/CMakeLists.txt +++ b/sigmod/CMakeLists.txt @@ -107,12 +107,27 @@ TARGET_LINK_LIBRARIES(sigmod LINK_INTERFACE_LIBRARIES INSTALL( TARGETS sigmod + EXPORT + sigmod_EXPORTS DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} COMPONENT runtime ) +# INSTALL( +# EXPORT +# sigmod_EXPORTS +# NAMESPACE +# sigen_ +# DESTINATION +# ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/cmake/modules +# FILE +# SigmodExportedLibraryTargets.cmake +# COMPONENT +# development +# ) + INSTALL( FILES ${sigmod_HEADERS} diff --git a/signet/CMakeLists.txt b/signet/CMakeLists.txt index 99bc6756..2c5c075a 100644 --- a/signet/CMakeLists.txt +++ b/signet/CMakeLists.txt @@ -65,12 +65,27 @@ TARGET_LINK_LIBRARIES(signet LINK_INTERFACE_LIBRARIES INSTALL( TARGETS signet + EXPORT + signet_EXPORTS DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} COMPONENT runtime ) +# INSTALL( +# EXPORT +# signet_EXPORTS +# NAMESPACE +# sigen_ +# DESTINATION +# ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/cmake/modules +# FILE +# SignetExportedLibraryTargets.cmake +# COMPONENT +# development +# ) + INSTALL( FILES ${signet_HEADERS} diff --git a/sigscript/CMakeLists.txt b/sigscript/CMakeLists.txt index 103a9a13..cb573075 100644 --- a/sigscript/CMakeLists.txt +++ b/sigscript/CMakeLists.txt @@ -110,12 +110,27 @@ TARGET_LINK_LIBRARIES(sigscript LINK_INTERFACE_LIBRARIES INSTALL( TARGETS sigscript + EXPORT + sigscript_EXPORTS DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} COMPONENT runtime ) +# INSTALL( +# EXPORT +# sigscript_EXPORTS +# NAMESPACE +# sigen_ +# DESTINATION +# ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/cmake/modules +# FILE +# SigscriptExportedLibraryTargets.cmake +# COMPONENT +# development +# ) + INSTALL( FILES ${sigscript_HEADERS} diff --git a/sigworld/CMakeLists.txt b/sigworld/CMakeLists.txt index 792c5b1a..25d813d3 100644 --- a/sigworld/CMakeLists.txt +++ b/sigworld/CMakeLists.txt @@ -45,12 +45,27 @@ TARGET_LINK_LIBRARIES(sigworld LINK_INTERFACE_LIBRARIES INSTALL( TARGETS sigworld + EXPORT + sigworld_EXPORTS DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX} COMPONENT runtime ) +# INSTALL( +# EXPORT +# sigworld_EXPORTS +# NAMESPACE +# sigen_ +# DESTINATION +# ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR}/cmake/modules +# FILE +# SigworldExportedLibraryTargets.cmake +# COMPONENT +# development +# ) + INSTALL( FILES ${sigworld_HEADERS} -- cgit