CMake: Make qt5compat tests standalone projects
Add the boilerplate standalone test prelude to each test, so that they
can be opened with an IDE without the qt-cmake-standalone-test script,
but directly with qt-cmake or cmake.
Boilerplate was added using the following scripts:
https://git.qt.io/alcroito/cmake_refactor
Manual adjustments were made where the code was inserted in the wrong
location.
Task-number: QTBUG-93020
Change-Id: Ice9b3de2d3e1d5829c810c68067960a28bb1da1f
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
| commit | 4539e101f703f50bcaf6669665bc24a26dc66f52 |
| parent | 203553037e1e2a71c618b073b74193f0c4b7294b |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Thu, 6 Jul 2023 16:18:36 +0200 |
- M tests/auto/core5/codecs/qtextcodec/CMakeLists.txt
- M tests/auto/core5/codecs/utf8/CMakeLists.txt
- M tests/auto/core5/io/qdebug/CMakeLists.txt
- M tests/auto/core5/sax/qxml/CMakeLists.txt
- M tests/auto/core5/sax/qxmlinputsource/CMakeLists.txt
- M tests/auto/core5/sax/qxmlsimplereader/CMakeLists.txt
- M tests/auto/core5/serialization/json/CMakeLists.txt
- M tests/auto/core5/serialization/qtextstream/CMakeLists.txt
- M tests/auto/core5/text/qregexp/CMakeLists.txt
- M tests/auto/core5/text/qstringbuilder/qstringbuilder1/CMakeLists.txt
- M tests/auto/core5/text/qstringref/CMakeLists.txt
- M tests/auto/core5/tools/qlinkedlist/CMakeLists.txt