From e44af47e44b595439eb4a62ac9a6893bc46f9b9e Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:09:12 +0200 Subject: [PATCH] Copy .clang-format to the dumpmodel test directory (#507) Co-authored-by: jmcarcell --- tests/dumpmodel/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/dumpmodel/CMakeLists.txt b/tests/dumpmodel/CMakeLists.txt index 345609210..11c7f5524 100644 --- a/tests/dumpmodel/CMakeLists.txt +++ b/tests/dumpmodel/CMakeLists.txt @@ -1,3 +1,6 @@ +# Copy the main .clang-format to here so that the tests can always find it +configure_file(${PROJECT_SOURCE_DIR}/.clang-format ${CMAKE_CURRENT_BINARY_DIR}/.clang-format COPYONLY) + # Add tests for storing and retrieving the EDM definitions into the produced # files add_test(NAME datamodel_def_store_roundtrip_root COMMAND ${PROJECT_SOURCE_DIR}/tests/scripts/dumpModelRoundTrip.sh