hdf5/tools/CMakeLists.txt

21 lines
675 B
CMake
Raw Normal View History

2018-03-10 02:31:58 +08:00
cmake_minimum_required (VERSION 3.10)
PROJECT (HDF5_TOOLS)
#-----------------------------------------------------------------------------
# Apply Definitions to compiler in this directory and below
#-----------------------------------------------------------------------------
add_definitions (${HDF_EXTRA_C_FLAGS})
# --------------------------------------------------------------------
# If testing was NOT enabled, then we need to build the tools library
# --------------------------------------------------------------------
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)
endif ()