2018-02-28 02:57:07 +08:00
|
|
|
cmake_minimum_required (VERSION 3.3.2)
|
2010-05-14 00:01:50 +08:00
|
|
|
PROJECT (HDF5_HL_CPP)
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Main HL lib is in /src
|
|
|
|
#-----------------------------------------------------------------------------
|
2018-01-31 02:21:01 +08:00
|
|
|
add_subdirectory (src)
|
2010-05-14 00:01:50 +08:00
|
|
|
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
# Add in the examples for the Packet Table codes
|
|
|
|
# --------------------------------------------------------------------
|
2014-03-12 05:14:57 +08:00
|
|
|
if (HDF5_BUILD_EXAMPLES)
|
2018-01-31 02:21:01 +08:00
|
|
|
add_subdirectory (examples)
|
2017-01-11 07:09:53 +08:00
|
|
|
endif ()
|
2010-05-14 00:01:50 +08:00
|
|
|
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
# Add in the unit tests for the packet table c++ wrapper
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
|
2014-03-12 05:14:57 +08:00
|
|
|
if (BUILD_TESTING)
|
2018-01-31 02:21:01 +08:00
|
|
|
add_subdirectory (test)
|
2017-01-11 07:09:53 +08:00
|
|
|
endif ()
|