[svn-r27904] Correct missing target name chars

This commit is contained in:
Allen Byrne 2015-09-28 15:43:25 -05:00
parent 431c69474c
commit 179d122d59
2 changed files with 8 additions and 6 deletions

View File

@ -47,8 +47,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
execute_process (
COMMAND ${CMAKE_COMMAND} -E touch ${FILE_PARSE}.timestamp
DEPENDS "${FILE_PARSE}"
)
endif (FILE_PARSE)
@ -82,7 +83,8 @@ 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
execute_process (
COMMAND ${CMAKE_COMMAND} -E touch ${FILE_ANALYZE}.timestamp
DEPENDS "${FILE_ANALYZE}"
)
endif (FILE_ANALYZE)

View File

@ -28,14 +28,14 @@ if (HDF5_GENERATE_HEADERS)
set_source_files_properties (${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.h GENERATED)
add_custom_command (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.timestamp
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c.timestamp
COMMAND "${CMAKE_COMMAND}"
-D "FILE_PARSE=H5LTparse.c"
-P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_command (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.timestamp
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c.timestamp
COMMAND "${CMAKE_COMMAND}"
-D "FILE_ANALYZE=H5LTanalyze.c"
-P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake"