2020-02-22 06:16:06 +08:00
|
|
|
cmake_minimum_required (VERSION 3.12)
|
2018-04-20 23:11:55 +08:00
|
|
|
project (HDF5_TOOLS C)
|
2010-05-14 00:01:50 +08:00
|
|
|
|
2018-02-06 06:14:00 +08:00
|
|
|
add_subdirectory (lib)
|
2010-05-14 00:01:50 +08:00
|
|
|
|
2016-10-27 23:03:22 +08:00
|
|
|
#-- Add the test sources
|
2018-01-31 02:21:01 +08:00
|
|
|
add_subdirectory (src)
|
2016-06-15 07:07:03 +08:00
|
|
|
|
2016-10-27 23:03:22 +08:00
|
|
|
#-- Add the tests
|
|
|
|
if (BUILD_TESTING)
|
2018-01-31 02:21:01 +08:00
|
|
|
add_subdirectory (test)
|
2019-07-26 00:36:37 +08:00
|
|
|
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
# 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 ()
|
2017-01-11 07:09:53 +08:00
|
|
|
endif ()
|