hdf5/tools/CMakeLists.txt

20 lines
504 B
CMake
Raw Normal View History

cmake_minimum_required (VERSION 3.12)
project (HDF5_TOOLS C)
2018-02-06 06:14:00 +08:00
add_subdirectory (lib)
2016-10-27 23:03:22 +08:00
#-- Add the test sources
add_subdirectory (src)
2016-10-27 23:03:22 +08:00
#-- Add the tests
if (BUILD_TESTING)
add_subdirectory (test)
# --------------------------------------------------------------------
# If S3 or HDFS enabled, then we need to test the tools library
# --------------------------------------------------------------------
if (HDF5_ENABLE_ROS3_VFD OR HDF5_ENABLE_HDFS)
add_subdirectory (libtest)
endif ()
endif ()