diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-09-28 17:30:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-09-28 17:30:48 (GMT) |
commit | ccd6248532a7b1030fcfa571607a7cd16228b354 (patch) | |
tree | 54e64dbe4ce93bc3d95e7dc7920e393c4392eef0 /hl/src | |
parent | 68962cb2fa9ce37dde2138524506938022dc1bb8 (diff) | |
download | hdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.zip hdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.tar.gz hdf5-ccd6248532a7b1030fcfa571607a7cd16228b354.tar.bz2 |
[svn-r27895] Rework the generated file dependencies and commands.
Diffstat (limited to 'hl/src')
-rw-r--r-- | hl/src/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt index 25f3cb5..1778ae0 100644 --- a/hl/src/CMakeLists.txt +++ b/hl/src/CMakeLists.txt @@ -32,8 +32,6 @@ if (HDF5_GENERATE_HEADERS) COMMAND "${CMAKE_COMMAND}" -D "FILE_PARSE=H5LTparse.c" -P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake" - COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.timestamp - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) add_custom_command ( @@ -41,11 +39,9 @@ if (HDF5_GENERATE_HEADERS) COMMAND "${CMAKE_COMMAND}" -D "FILE_ANALYZE=H5LTanalyze.c" -P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake" - COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.timestamp - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) - add_custom_target (process_gen_H5LT DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.timestamp ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.timestamp) + add_custom_target (process_gen_H5LT DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c.timestamp ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c.timestamp) # add_custom_target (process_gen_H5LT # COMMAND "${CMAKE_COMMAND}" |