summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-28 17:30:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-28 17:30:48 (GMT)
commitccd6248532a7b1030fcfa571607a7cd16228b354 (patch)
tree54e64dbe4ce93bc3d95e7dc7920e393c4392eef0 /config
parent68962cb2fa9ce37dde2138524506938022dc1bb8 (diff)
downloadhdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.zip
hdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.tar.gz
hdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.tar.bz2
[svn-r27895] Rework the generated file dependencies and commands.
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDF5_Process_Flex_Files.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/cmake/HDF5_Process_Flex_Files.cmake b/config/cmake/HDF5_Process_Flex_Files.cmake
index da1a842..2904d2a 100644
--- a/config/cmake/HDF5_Process_Flex_Files.cmake
+++ b/config/cmake/HDF5_Process_Flex_Files.cmake
@@ -46,6 +46,9 @@ if (FILE_PARSE)
")
file (APPEND ${FILE_PARSE} "${TEST_STREAM}")
message (STATUS "processing pragma in ${FILE_PARSE}")
+ EXECUTE_PROCESS (
+ COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${FILE_PARSE}.timestamp
+ )
endif (FILE_PARSE)
if (FILE_ANALYZE)
@@ -78,4 +81,7 @@ if (FILE_ANALYZE)
")
file (APPEND ${FILE_ANALYZE} "${TEST_STREAM}")
message (STATUS "processing pragma in ${FILE_ANALYZE}")
+ EXECUTE_PROCESS (
+ COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${FILE_ANALYZE}.timestamp
+ )
endif (FILE_ANALYZE)