diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-09-28 18:57:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-09-28 18:57:41 (GMT) |
commit | 7c742a851847997f5e931f3d448b368c3179de32 (patch) | |
tree | 8908e35a0110298e3fc3e29120481e05798d5500 /tools/test/h5jam | |
parent | 43ce4b5e6e5eb4e848bf1726252f1ca17212e545 (diff) | |
download | hdf5-7c742a851847997f5e931f3d448b368c3179de32.zip hdf5-7c742a851847997f5e931f3d448b368c3179de32.tar.gz hdf5-7c742a851847997f5e931f3d448b368c3179de32.tar.bz2 |
Add clang-format changes from develop.
Diffstat (limited to 'tools/test/h5jam')
-rw-r--r-- | tools/test/h5jam/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/test/h5jam/CMakeLists.txt b/tools/test/h5jam/CMakeLists.txt index 78160d3..67c8c5f 100644 --- a/tools/test/h5jam/CMakeLists.txt +++ b/tools/test/h5jam/CMakeLists.txt @@ -11,6 +11,13 @@ if (HDF5_BUILD_GENERATORS AND NOT ONLY_SHARED_LIBS) target_link_libraries (h5jamgentest PRIVATE ${HDF5_LIB_TARGET}) set_target_properties (h5jamgentest PROPERTIES FOLDER generator/tools) + #----------------------------------------------------------------------------- + # Add Target to clang-format + #----------------------------------------------------------------------------- + if (HDF5_ENABLE_FORMATTERS) + clang_format (HDF5_TOOLS_TEST_H5JAM_FORMAT h5jamgentest) + endif () + #add_test (NAME h5jamgentest COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5jamgentest>) endif () @@ -36,6 +43,14 @@ else () endif () set_target_properties (tellub PROPERTIES FOLDER tools) +#----------------------------------------------------------------------------- +# Add Target to clang-format +#----------------------------------------------------------------------------- +if (HDF5_ENABLE_FORMATTERS) + clang_format (HDF5_TOOLS_TEST_H5JAM_getub_FORMAT getub) + clang_format (HDF5_TOOLS_TEST_H5JAM_tellub_FORMAT tellub) +endif () + if (HDF5_TEST_TOOLS AND HDF5_TEST_SERIAL) include (CMakeTests.cmake) endif () |