2014-03-13 23:05:09 +08:00
|
|
|
cmake_minimum_required (VERSION 2.8.11)
|
2010-05-14 00:01:50 +08:00
|
|
|
PROJECT (HDF5_HL_CPP)
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
# Main HL lib is in /src
|
|
|
|
#-----------------------------------------------------------------------------
|
2014-03-19 00:21:46 +08:00
|
|
|
add_subdirectory (${HDF5_HL_CPP_SOURCE_DIR}/src ${HDF5_HL_CPP_BINARY_DIR}/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)
|
2014-03-19 00:21:46 +08:00
|
|
|
add_subdirectory (${HDF5_HL_CPP_SOURCE_DIR}/examples ${HDF5_HL_CPP_BINARY_DIR}/examples)
|
2014-03-12 05:14:57 +08:00
|
|
|
endif (HDF5_BUILD_EXAMPLES)
|
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)
|
2014-03-19 00:21:46 +08:00
|
|
|
add_subdirectory (${HDF5_HL_CPP_SOURCE_DIR}/test ${HDF5_HL_CPP_BINARY_DIR}/test)
|
2014-03-12 05:14:57 +08:00
|
|
|
endif (BUILD_TESTING)
|