Improve examples CMakeLists.txt
- Remove "# generated from xyz.pro" comment from pro2cmake
- Remove automatic use of CMAKE_AUTORCC
- Only opt into CMAKE_AUTOUIC if .ui files are involved
- Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR
- Combine multiple find_package(Qt6 ... calls)
- use REQUIRED COMPONENTS
- sort components alphabetically
- Fix wrong indentations
- Use (only) one empty line after multi-line commands
Pick-to: 6.3
Change-Id: Ie7432614f6060152eb3278724877670059c71495
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
| commit | e318718f9ddd12f9328df249ae1b8f73b33f431c |
| parent | 041427535851f61e6db845ada3ea771eb89ac63b |
| author | Kai Köhne <kai.koehne@qt.io> |
| committer | Kai Köhne <kai.koehne@qt.io> |
| commit time | Mon, 21 Feb 2022 10:24:46 +0100 |
- M examples/sensors/accelbubble/CMakeLists.txt
- M examples/sensors/grue/CMakeLists.txt
- M examples/sensors/grue/console_app/CMakeLists.txt
- M examples/sensors/grue/plugin/CMakeLists.txt
- M examples/sensors/maze/CMakeLists.txt
- M examples/sensors/qmlqtsensors/CMakeLists.txt
- M examples/sensors/qmlsensorgestures/CMakeLists.txt
- M examples/sensors/qmlsensorgestures/plugin/CMakeLists.txt
- M examples/sensors/sensor_explorer/CMakeLists.txt
- M examples/sensors/sensorgestures/CMakeLists.txt
- M examples/sensors/sensorsshowcase/CMakeLists.txt
- M examples/sensors/shakeit/CMakeLists.txt