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