summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-11-25 17:35:13 -0500
committerBen Boeckel <MathStuf@gmail.com>2008-11-25 17:35:13 -0500
commit2134514425d6b0f034f675ca87ec53e0462ade9c (patch)
tree5a0221e498bf7ca95a1312921df6368755541ef2
parent47deaf7351208c751ce557692db3549c19b20e6b (diff)
downloadsigen-2134514425d6b0f034f675ca87ec53e0462ade9c.tar.gz
sigen-2134514425d6b0f034f675ca87ec53e0462ade9c.tar.xz
sigen-2134514425d6b0f034f675ca87ec53e0462ade9c.zip
Added exports to install targets for libraries and preliminary install targets for the exports themselves
-rw-r--r--sigbattle/CMakeLists.txt15
-rw-r--r--sigcore/CMakeLists.txt15
-rw-r--r--sigmod/CMakeLists.txt15
-rw-r--r--signet/CMakeLists.txt15
-rw-r--r--sigscript/CMakeLists.txt15
-rw-r--r--sigworld/CMakeLists.txt15
6 files changed, 90 insertions, 0 deletions
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}