mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Fix h5test.h include issue
This commit is contained in:
parent
b00962ac86
commit
27feb0357f
@ -14,8 +14,8 @@ PROJECT (HDF5_HL_TEST)
|
||||
set (srcdir ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
configure_file (${HDF5_HL_TEST_SOURCE_DIR}/H5srcdir_str.h.in H5srcdir_str.h @ONLY)
|
||||
|
||||
INCLUDE_DIRECTORIES (${CMAKE_CURRENT_BINARY_DIR})
|
||||
INCLUDE_DIRECTORIES (${HDF5_TEST_SRC_DIR})
|
||||
include_directories (${CMAKE_CURRENT_BINARY_DIR})
|
||||
include_directories (${HDF5_TEST_SRC_DIR})
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Macro used to add a unit test
|
||||
|
@ -9,9 +9,9 @@ set (H5WATCH_SOURCES
|
||||
)
|
||||
|
||||
#-- Add h5watch program
|
||||
INCLUDE_DIRECTORIES (${HDF5_TOOLS_DIR}/lib)
|
||||
INCLUDE_DIRECTORIES (${HDF5_HL_TOOLS_DIR}/src)
|
||||
INCLUDE_DIRECTORIES (${HDF5_HL_TOOLS_H5WATCH_SOURCE_DIR})
|
||||
include_directories (${HDF5_TOOLS_DIR}/lib)
|
||||
include_directories (${HDF5_HL_TOOLS_DIR}/src)
|
||||
include_directories (${HDF5_HL_TOOLS_H5WATCH_SOURCE_DIR})
|
||||
|
||||
add_executable (h5watch ${H5WATCH_SOURCES})
|
||||
TARGET_NAMING (h5watch STATIC)
|
||||
@ -20,6 +20,8 @@ target_link_libraries (h5watch ${HDF5_HL_LIB_TARGET} ${HDF5_LIB_TARGET} ${HDF5_T
|
||||
set_target_properties (h5watch PROPERTIES FOLDER tools/hl)
|
||||
|
||||
if (BUILD_TESTING)
|
||||
include_directories (${HDF5_TEST_SRC_DIR})
|
||||
include_directories(${HDF5_HL_SRC_DIR}/test)
|
||||
#-- Add swmr_check_compat_vfd program
|
||||
set (hl_swmr_check_compat_vfd_SOURCES
|
||||
${HDF5_HL_TOOLS_H5WATCH_SOURCE_DIR}/swmr_check_compat_vfd.c
|
||||
|
@ -13,8 +13,7 @@
|
||||
* access to either file, you may request a copy from help@hdfgroup.org. *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#include "H5HLprivate2.h"
|
||||
#include "h5test.h"
|
||||
#include "h5hltest.h"
|
||||
|
||||
/*
|
||||
* Extending datasets in WATCH.h5 generated by h5watchgentest.c
|
||||
|
Loading…
Reference in New Issue
Block a user