1set(CTEST_CUSTOM_COVERAGE_EXCLUDE 2 ${CTEST_CUSTOM_COVERAGE_EXCLUDE} 3 "tests.*.cpp" 4 # Exclude all third party code. 5 ".*/thirdparty/.*" 6 # Exclude MOC files (Qt). 7 "moc_" 8 ) 9 10set(CTEST_CUSTOM_WARNING_EXCEPTION 11 ${CTEST_CUSTOM_WARNING_EXCEPTION} 12 # Exclude all third party code. 13 ".*/thirdparty/.*" 14 # Qt5Json snapshot 15 ".*/qt5json/.*" 16 # Nested Qt foreach loops produce this warning: 17 "_container_.* shadows a previous local" 18 "shadowed declaration is here" 19 ) 20