CMake: Make qtcoap 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: Idc25fe2da6e4d6dbefa9fc669401e127beec2ae4
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
| commit | 1bea3e0d88dee5c335c7fef25feb1898fdb45101 |
| parent | c9ac4d891e8a364c7eb2fad5eccb221eeaf031c4 |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Wed, 12 Jul 2023 18:23:38 +0200 |
- M tests/auto/qcoapclient/CMakeLists.txt
- M tests/auto/qcoapinternalreply/CMakeLists.txt
- M tests/auto/qcoapinternalrequest/CMakeLists.txt
- M tests/auto/qcoapmessage/CMakeLists.txt
- M tests/auto/qcoapoption/CMakeLists.txt
- M tests/auto/qcoapqudpconnection/CMakeLists.txt
- M tests/auto/qcoapreply/CMakeLists.txt
- M tests/auto/qcoaprequest/CMakeLists.txt
- M tests/auto/qcoapresource/CMakeLists.txt