summaryrefslogtreecommitdiffstats
path: root/test/CMakeTests.cmake
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-09-27 20:03:44 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-09-27 20:03:44 (GMT)
commit08034972bc4818e8550445aa7f4fd0b315800190 (patch)
tree14ab13613f3c411d0b3248455244f29418ef887b /test/CMakeTests.cmake
parentd20e1274a7bbf8ab1f87f3ebd61cea82ac8caf53 (diff)
parentaa08db839e6aea89487be985704d57a0e424b21b (diff)
downloadhdf5-08034972bc4818e8550445aa7f4fd0b315800190.zip
hdf5-08034972bc4818e8550445aa7f4fd0b315800190.tar.gz
hdf5-08034972bc4818e8550445aa7f4fd0b315800190.tar.bz2
Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experiment
Diffstat (limited to 'test/CMakeTests.cmake')
-rw-r--r--test/CMakeTests.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 2371468..8e7a806 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -972,6 +972,13 @@ if (HDF5_BUILD_GENERATORS AND NOT ONLY_SHARED_LIBS)
TARGET_C_PROPERTIES (${genfile} STATIC)
target_link_libraries (${genfile} PRIVATE ${HDF5_TEST_LIB_TARGET} ${HDF5_LIB_TARGET})
set_target_properties (${genfile} PROPERTIES FOLDER generator/test)
+
+ #-----------------------------------------------------------------------------
+ # Add Target to clang-format
+ #-----------------------------------------------------------------------------
+ if (HDF5_ENABLE_FORMATTERS)
+ clang_format (HDF5_TEST_${genfile}_FORMAT ${genfile})
+ endif ()
endmacro ()
# generator executables