summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-05-19 20:11:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-05-19 20:11:00 (GMT)
commit80e6dfe3ba830d2e1399737ecd23b16889c262c9 (patch)
tree803f9f6729bdd5e43608bab6e108a3c9b0d55e2e /hl
parent2fc65cf787c134a7c1d7c12d0a990c56d21d381e (diff)
downloadhdf5-80e6dfe3ba830d2e1399737ecd23b16889c262c9.zip
hdf5-80e6dfe3ba830d2e1399737ecd23b16889c262c9.tar.gz
hdf5-80e6dfe3ba830d2e1399737ecd23b16889c262c9.tar.bz2
[svn-r18856] Added CPack commands for installtion program
Tested: local linux and Windows
Diffstat (limited to 'hl')
-rw-r--r--hl/c++/src/CMakeLists.txt8
-rw-r--r--hl/fortran/src/CMakeLists.txt6
-rw-r--r--hl/src/CMakeLists.txt8
-rw-r--r--hl/tools/CMakeLists.txt2
4 files changed, 15 insertions, 9 deletions
diff --git a/hl/c++/src/CMakeLists.txt b/hl/c++/src/CMakeLists.txt
index 889b716..459520e 100644
--- a/hl/c++/src/CMakeLists.txt
+++ b/hl/c++/src/CMakeLists.txt
@@ -26,6 +26,8 @@ INSTALL (
${HDF5_HL_CPP_HDRS}
DESTINATION
include/hl/cpp
+ COMPONENT
+ hlcppheaders
)
#-----------------------------------------------------------------------------
@@ -37,8 +39,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_CPP_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT hlcpplibraries
+ ARCHIVE DESTINATION lib COMPONENT hlcpplibraries
+ RUNTIME DESTINATION bin COMPONENT hlcpplibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index a967d54..1ff49d6 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -96,8 +96,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_F90_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT hlfortlibraries
+ ARCHIVE DESTINATION lib COMPONENT hlfortlibraries
+ RUNTIME DESTINATION bin COMPONENT hlfortlibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index 8773e50..6042853 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -47,6 +47,8 @@ INSTALL (
${HL_HEADERS}
DESTINATION
include
+ COMPONENT
+ hlheaders
)
#-----------------------------------------------------------------------------
@@ -58,8 +60,8 @@ IF (HDF5_EXPORTED_TARGETS)
${HDF5_HL_LIB_TARGET}
EXPORT
${HDF5_EXPORTED_TARGETS}
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
- RUNTIME DESTINATION bin
+ LIBRARY DESTINATION lib COMPONENT hllibraries
+ ARCHIVE DESTINATION lib COMPONENT hllibraries
+ RUNTIME DESTINATION bin COMPONENT hllibraries
)
ENDIF (HDF5_EXPORTED_TARGETS)
diff --git a/hl/tools/CMakeLists.txt b/hl/tools/CMakeLists.txt
index 5730205..b99e742 100644
--- a/hl/tools/CMakeLists.txt
+++ b/hl/tools/CMakeLists.txt
@@ -52,4 +52,6 @@ INSTALL (
hdf2gif
RUNTIME DESTINATION
bin/tools
+ COMPONENT
+ hltoolsapplications
)