summaryrefslogtreecommitdiffstats
path: root/fortran/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-03-24 21:00:34 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-03-24 21:00:34 (GMT)
commit63e1b32068fb84f5d4a4bff2fc06a2801f141054 (patch)
tree8fddcd93cbe6e361cdacd29259d2aa5a3024f76e /fortran/src/CMakeLists.txt
parent810285be8ea039c1ab68e981abe5fbb5b8c40244 (diff)
downloadhdf5-63e1b32068fb84f5d4a4bff2fc06a2801f141054.zip
hdf5-63e1b32068fb84f5d4a4bff2fc06a2801f141054.tar.gz
hdf5-63e1b32068fb84f5d4a4bff2fc06a2801f141054.tar.bz2
[svn-r24886] Fix fortran mod file handling and packing
Diffstat (limited to 'fortran/src/CMakeLists.txt')
-rw-r--r--fortran/src/CMakeLists.txt59
1 files changed, 55 insertions, 4 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index 88eb518..a8312a5 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -262,8 +262,33 @@ install (
if (WIN32 AND NOT CYGWIN)
install (
- DIRECTORY
- ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/
+ FILES
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5fortran_types.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5test_kind_sizeof_mod.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/hdf5.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5a.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5d.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5e.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5f.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5g.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5i.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5l.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5o.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5p.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5r.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5s.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5t.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5z.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5a_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5d_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5e_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5f_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5l_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5o_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5p_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5r_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5t_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/\${BUILD_TYPE}/h5_dble_interface.mod
DESTINATION
${HDF5_INSTALL_INCLUDE_DIR}
COMPONENT
@@ -271,8 +296,34 @@ if (WIN32 AND NOT CYGWIN)
)
else (WIN32 AND NOT CYGWIN)
install (
- DIRECTORY
- ${CMAKE_Fortran_MODULE_DIRECTORY}/
+ FILES
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5fortran_types.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5test_kind_sizeof_mod.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/hdf5.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5f.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5a.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5d.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5e.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5f.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5g.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5i.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5l.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5o.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5p.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5r.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5s.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5t.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5z.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5a_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5d_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5E_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5F_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5L_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5O_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5P_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5R_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5T_provisional.mod
+ ${CMAKE_Fortran_MODULE_DIRECTORY}/h5_dble_interface.mod
DESTINATION
${HDF5_INSTALL_INCLUDE_DIR}
COMPONENT