summaryrefslogtreecommitdiffstats
path: root/hl/c++/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:48:28 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:48:28 (GMT)
commit10343c197906415388f2a4c8d292e21d25cf7381 (patch)
treeb3a1ac91bb3cea2ec2bfb5d6a228813b646f15c9 /hl/c++/test
parent43ce4b5e6e5eb4e848bf1726252f1ca17212e545 (diff)
parent3088c6abec27ad477031a71d947ac3be4cb2429d (diff)
downloadhdf5-10343c197906415388f2a4c8d292e21d25cf7381.zip
hdf5-10343c197906415388f2a4c8d292e21d25cf7381.tar.gz
hdf5-10343c197906415388f2a4c8d292e21d25cf7381.tar.bz2
Merge pull request #2903 in HDFFV/hdf5 from ~BYRN/hdf5_clang_format:hdf5_1_12 to hdf5_1_12
* commit '3088c6abec27ad477031a71d947ac3be4cb2429d': define name warning format fixes and define name from develop Src file format preventive updates Add clang-format changes from develop.
Diffstat (limited to 'hl/c++/test')
-rw-r--r--hl/c++/test/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/hl/c++/test/CMakeLists.txt b/hl/c++/test/CMakeLists.txt
index 5c224a8..246a670 100644
--- a/hl/c++/test/CMakeLists.txt
+++ b/hl/c++/test/CMakeLists.txt
@@ -25,6 +25,13 @@ else ()
endif ()
set_target_properties (hl_ptableTest PROPERTIES FOLDER test/hl/cpp)
+#-----------------------------------------------------------------------------
+# Add Target to clang-format
+#-----------------------------------------------------------------------------
+if (HDF5_ENABLE_FORMATTERS)
+ clang_format (HDF5_HL_CPP_TEST_FORMAT hl_ptableTest)
+endif ()
+
if (HDF5_TEST_CPP AND HDF5_TEST_SERIAL)
include (CMakeTests.cmake)
endif ()