This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch feature/update_debug_optimalization_flag
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to
refs/heads/feature/update_debug_optimalization_flag by this push:
new ce9aacc4 Force a -O0 flag for libdfi gtest executable
ce9aacc4 is described below
commit ce9aacc4b70e83868e93a90a14f144dea17d946c
Author: Pepijn Noltes <[email protected]>
AuthorDate: Sun Dec 11 19:29:35 2022 +0100
Force a -O0 flag for libdfi gtest executable
---
libs/dfi/gtest/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/dfi/gtest/CMakeLists.txt b/libs/dfi/gtest/CMakeLists.txt
index 8f3ed910..a851036e 100644
--- a/libs/dfi/gtest/CMakeLists.txt
+++ b/libs/dfi/gtest/CMakeLists.txt
@@ -31,7 +31,7 @@ add_executable(test_dfi
src/json_rpc_avpr_tests.cpp
src/avrobin_serialization_tests.cpp
)
-
+target_compile_options(test_dfi PRIVATE -O0)
target_link_libraries(test_dfi PRIVATE Celix::dfi Celix::utils libffi::libffi
jansson::jansson GTest::gtest GTest::gtest_main)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/schemas DESTINATION
${CMAKE_CURRENT_BINARY_DIR})