From caa7fbeb913dfe371672b96bad202adf6d966d4a Mon Sep 17 00:00:00 2001 From: Darby Johnston Date: Thu, 16 Jan 2025 17:23:08 -0800 Subject: [PATCH] Add path Signed-off-by: Darby Johnston --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db8d66be3..999d2ace1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,7 @@ if(OTIO_CXX_COVERAGE AND NOT MSVC) # Note that we exclude some OTIO files from code coverage since they are # causing errors like this: # geninfo: ERROR: mismatched end line for PyInit__opentime at opentime_bindings.cpp: - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-update=atomic -fprofile-exclude-files='/usr/*;src/deps/*;src/py-opentimelineio/opentime-bindings/opentime_bindings.cpp'") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-update=atomic -fprofile-exclude-files='/usr/*;src/deps/*;src/py-opentimelineio/opentime-bindings/opentime_bindings.cpp;src/py-opentimelineio/opentimelineio-bindings/otio_bindings.cpp'") # this causes cmake to produce file.gcno instead of file.cpp.gcno set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1) message(STATUS "Building C++ with Coverage: ON")