mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
29 lines
1.1 KiB
CMake
29 lines
1.1 KiB
CMake
cmake_minimum_required (VERSION 3.1.0)
|
|
PROJECT (HDF5_TOOLS_TEST_H5DUMP)
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# Setup include Directories
|
|
#-----------------------------------------------------------------------------
|
|
INCLUDE_DIRECTORIES (${HDF5_TOOLS_DIR}/lib)
|
|
|
|
# --------------------------------------------------------------------
|
|
# Add the h5dump test executable
|
|
# --------------------------------------------------------------------
|
|
if (HDF5_BUILD_GENERATORS)
|
|
add_executable (h5dumpgentest ${HDF5_TOOLS_TEST_H5DUMP_SOURCE_DIR}/h5dumpgentest.c)
|
|
TARGET_NAMING (h5dumpgentest STATIC)
|
|
TARGET_C_PROPERTIES (h5dumpgentest STATIC " " " ")
|
|
target_link_libraries (h5dumpgentest ${HDF5_LIB_TARGET} ${HDF5_TOOLS_LIB_TARGET})
|
|
set_target_properties (h5dumpgentest PROPERTIES FOLDER generator/tools)
|
|
|
|
#add_test (NAME h5dumpgentest COMMAND $<TARGET_FILE:h5dumpgentest>)
|
|
endif (HDF5_BUILD_GENERATORS)
|
|
|
|
include (CMakeTests.cmake)
|
|
|
|
include (CMakeTestsPBITS.cmake)
|
|
|
|
include (CMakeTestsVDS.cmake)
|
|
|
|
include (CMakeTestsXML.cmake)
|