fuzzgen: add --embedded mode for integration into Qt's build system


Add --embedded flag to qt_fuzzgen that generates CMakeLists.txt files
suitable for inclusion in a parent CMake project. In embedded mode:
- Top-level CMakeLists.txt omits cmake_minimum_required(), project(),
  find_package(), CMAKE_PREFIX_PATH block, and CMAKE_CXX_STANDARD setup
- Per-class CMakeLists.txt omits all of the above plus the sanitizer
  option block and include(CTest)/enable_testing()
- Per-class timeout variable is qualified with the class name
  (e.g. _fuzz_timeout_QDir) to avoid scope collisions
- The qtPrefix header-existence check is skipped in embedded mode
  since the parent Qt build already knows installed headers

This enables tests/fuzz/CMakeLists.txt in qtbase/qtdeclarative to call
qt_fuzzgen at CMake configure time and include the generated tree into
Qt's own build, with Qt's already-found targets.

Change-Id: Ieee6d13def1232f97de341396070411c8b370eb0
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
commita15771e685007e59e06dc5d66eba9f2ebd225dc5
parentaa9614de9bda7f590bca0a032b04936fb1ebe3a6
authorAxel Spoerl <axel.spoerl@qt.io>
committerAxel Spoerl <axel.spoerl@qt.io>
commit timeWed, 15 Jul 2026 14:07:29 +0000