diff options
Diffstat (limited to 'tests/libfuzzer')
5 files changed, 15 insertions, 15 deletions
diff --git a/tests/libfuzzer/corelib/text/qregularexpression/optimize/CMakeLists.txt b/tests/libfuzzer/corelib/text/qregularexpression/optimize/CMakeLists.txt index a82e5fa340..303f2494db 100644 --- a/tests/libfuzzer/corelib/text/qregularexpression/optimize/CMakeLists.txt +++ b/tests/libfuzzer/corelib/text/qregularexpression/optimize/CMakeLists.txt @@ -4,7 +4,7 @@ ## optimize Binary: ##################################################################### -qt_add_executable(optimize +qt_internal_add_executable(optimize GUI SOURCES main.cpp @@ -16,12 +16,12 @@ qt_add_executable(optimize ## Scopes: ##################################################################### -qt_extend_target(optimize CONDITION FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(optimize CONDITION FUZZ_ENGINE_ISEMPTY LINK_OPTIONS "-fsanitize=fuzzer" ) -qt_extend_target(optimize CONDITION NOT FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(optimize CONDITION NOT FUZZ_ENGINE_ISEMPTY PUBLIC_LIBRARIES $ENV{LIB_FUZZING_ENGINE} ) diff --git a/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt b/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt index ec52626e2d..14daff2a7a 100644 --- a/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt +++ b/tests/libfuzzer/gui/painting/qcolorspace/fromiccprofile/CMakeLists.txt @@ -4,7 +4,7 @@ ## fromiccprofile Binary: ##################################################################### -qt_add_executable(fromiccprofile +qt_internal_add_executable(fromiccprofile GUI SOURCES main.cpp @@ -19,12 +19,12 @@ qt_add_executable(fromiccprofile ## Scopes: ##################################################################### -qt_extend_target(fromiccprofile CONDITION FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(fromiccprofile CONDITION FUZZ_ENGINE_ISEMPTY LINK_OPTIONS "-fsanitize=fuzzer" ) -qt_extend_target(fromiccprofile CONDITION NOT FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(fromiccprofile CONDITION NOT FUZZ_ENGINE_ISEMPTY PUBLIC_LIBRARIES $ENV{LIB_FUZZING_ENGINE} ) diff --git a/tests/libfuzzer/gui/text/qtextdocument/sethtml/CMakeLists.txt b/tests/libfuzzer/gui/text/qtextdocument/sethtml/CMakeLists.txt index 982957bedf..1fefea0128 100644 --- a/tests/libfuzzer/gui/text/qtextdocument/sethtml/CMakeLists.txt +++ b/tests/libfuzzer/gui/text/qtextdocument/sethtml/CMakeLists.txt @@ -4,7 +4,7 @@ ## sethtml Binary: ##################################################################### -qt_add_executable(sethtml +qt_internal_add_executable(sethtml GUI SOURCES main.cpp @@ -19,12 +19,12 @@ qt_add_executable(sethtml ## Scopes: ##################################################################### -qt_extend_target(sethtml CONDITION FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(sethtml CONDITION FUZZ_ENGINE_ISEMPTY LINK_OPTIONS "-fsanitize=fuzzer" ) -qt_extend_target(sethtml CONDITION NOT FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(sethtml CONDITION NOT FUZZ_ENGINE_ISEMPTY PUBLIC_LIBRARIES $ENV{LIB_FUZZING_ENGINE} ) diff --git a/tests/libfuzzer/gui/text/qtextdocument/setmarkdown/CMakeLists.txt b/tests/libfuzzer/gui/text/qtextdocument/setmarkdown/CMakeLists.txt index a10d432556..acc678f2ef 100644 --- a/tests/libfuzzer/gui/text/qtextdocument/setmarkdown/CMakeLists.txt +++ b/tests/libfuzzer/gui/text/qtextdocument/setmarkdown/CMakeLists.txt @@ -4,7 +4,7 @@ ## setmarkdown Binary: ##################################################################### -qt_add_executable(setmarkdown +qt_internal_add_executable(setmarkdown GUI SOURCES main.cpp @@ -19,12 +19,12 @@ qt_add_executable(setmarkdown ## Scopes: ##################################################################### -qt_extend_target(setmarkdown CONDITION FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(setmarkdown CONDITION FUZZ_ENGINE_ISEMPTY LINK_OPTIONS "-fsanitize=fuzzer" ) -qt_extend_target(setmarkdown CONDITION NOT FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(setmarkdown CONDITION NOT FUZZ_ENGINE_ISEMPTY PUBLIC_LIBRARIES $ENV{LIB_FUZZING_ENGINE} ) diff --git a/tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt b/tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt index 1810c5ed6f..637ce2f51b 100644 --- a/tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt +++ b/tests/libfuzzer/gui/text/qtextlayout/beginlayout/CMakeLists.txt @@ -4,7 +4,7 @@ ## beginlayout Binary: ##################################################################### -qt_add_executable(beginlayout +qt_internal_add_executable(beginlayout GUI SOURCES main.cpp @@ -19,12 +19,12 @@ qt_add_executable(beginlayout ## Scopes: ##################################################################### -qt_extend_target(beginlayout CONDITION FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(beginlayout CONDITION FUZZ_ENGINE_ISEMPTY LINK_OPTIONS "-fsanitize=fuzzer" ) -qt_extend_target(beginlayout CONDITION NOT FUZZ_ENGINE_ISEMPTY +qt_internal_extend_target(beginlayout CONDITION NOT FUZZ_ENGINE_ISEMPTY PUBLIC_LIBRARIES $ENV{LIB_FUZZING_ENGINE} ) |