summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-29 17:44:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-29 17:44:56 (GMT)
commitcc8ed681b0eeaefdfe834d26c3715146f225b381 (patch)
tree5ef3fb6591b714e8368bd01f62d2943ed31ae891 /hl
parente8073c0d80189b1d1c8e5df94abe72b249f5aab8 (diff)
downloadhdf5-cc8ed681b0eeaefdfe834d26c3715146f225b381.zip
hdf5-cc8ed681b0eeaefdfe834d26c3715146f225b381.tar.gz
hdf5-cc8ed681b0eeaefdfe834d26c3715146f225b381.tar.bz2
[svn-r27911] Add back in the build dir
Diffstat (limited to 'hl')
-rw-r--r--hl/src/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index 1821ec0..a21504b 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -18,25 +18,25 @@ if (HDF5_GENERATE_HEADERS)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_custom_command (
- OUTPUT H5LTparse.c H5LTparse.h
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.h
COMMAND "${CMAKE_COMMAND}"
-D "GEN_DIR=genLT"
-D "FILE_PARSE=H5LTparse"
-P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake"
- DEPENDS "genLT/H5LTparse.c"
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/genLT/H5LTparse.c"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_command (
- OUTPUT H5LTanalyze.c
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c
COMMAND "${CMAKE_COMMAND}"
-D "GEN_DIR=genLT"
-D "FILE_ANALYZE=H5LTanalyze.c"
-P "${HDF_RESOURCES_DIR}/HDF5_Process_Flex_Files.cmake"
- DEPENDS "genLT/H5LTanalyze.c"
+ DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/genLT/H5LTanalyze.c"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_target (process_gen_H5LT
- DEPENDS H5LTparse.c H5LTanalyze.c
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)