mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
21 lines
675 B
CMake
21 lines
675 B
CMake
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
|
|
# --------------------------------------------------------------------
|
|
add_subdirectory (lib)
|
|
|
|
#-- Add the test sources
|
|
add_subdirectory (src)
|
|
|
|
#-- Add the tests
|
|
if (BUILD_TESTING)
|
|
add_subdirectory (test)
|
|
endif ()
|