diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-22 15:32:03 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-22 15:32:03 (GMT) |
commit | fc25f7abe741a0d5ce119a739567e7f63a6dd071 (patch) | |
tree | b65b7dbc5858f725f11d15053845f7b69b62b142 /tools/perform | |
parent | 979c4ea22426bab825952d0b702a109a516ae384 (diff) | |
download | hdf5-fc25f7abe741a0d5ce119a739567e7f63a6dd071.zip hdf5-fc25f7abe741a0d5ce119a739567e7f63a6dd071.tar.gz hdf5-fc25f7abe741a0d5ce119a739567e7f63a6dd071.tar.bz2 |
Standalone still requires timer functions
Diffstat (limited to 'tools/perform')
-rw-r--r-- | tools/perform/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perform/CMakeLists.txt b/tools/perform/CMakeLists.txt index b9bdb7e..7f3e296 100644 --- a/tools/perform/CMakeLists.txt +++ b/tools/perform/CMakeLists.txt @@ -23,12 +23,13 @@ set_target_properties (h5perf_serial PROPERTIES FOLDER perform) if (HDF5_BUILD_PERFORM_STANDALONE AND BUILD_TESTING) #-- Adding test for h5perf_serial_alone set (h5perf_serial_alone_SOURCES + ${HDF5_TOOLS_SRC_DIR}/lib/io_timer.c ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/sio_perf.c ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/sio_engine.c ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/sio_standalone.c ) add_executable (h5perf_serial_alone ${h5perf_serial_alone_SOURCES}) - target_include_directories (h5perf_serial_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") + target_include_directories (h5perf_serial_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_SRC_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") if (NOT BUILD_SHARED_LIBS) TARGET_C_PROPERTIES (h5perf_serial_alone STATIC) target_link_libraries (h5perf_serial_alone PRIVATE ${HDF5_LIB_TARGET}) @@ -156,12 +157,13 @@ if (H5_HAVE_PARALLEL AND BUILD_TESTING) if (HDF5_BUILD_PERFORM_STANDALONE) #-- Adding test for h5perf set (h5perf_alone_SOURCES + ${HDF5_TOOLS_SRC_DIR}/lib/io_timer.c ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/pio_perf.c ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/pio_engine.c ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/pio_standalone.c ) add_executable (h5perf_alone ${h5perf_alone_SOURCES}) - target_include_directories (h5perf_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") + target_include_directories (h5perf_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_SRC_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") if (NOT BUILD_SHARED_LIBS) TARGET_C_PROPERTIES (h5perf_alone STATIC) target_link_libraries (h5perf_alone PRIVATE ${HDF5_LIB_TARGET}) |