summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Autogen
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Fix multi-config generated file issueOrkun Tokdemir2023-05-272-0/+34
| | | | | | | | | The default config was an empty string when a `multi-config` generator is used. An if check was added for those situations. If a source file has a specific config configuration, it is used with `$<CONFIG>` in the `multi-config` generator usage. Fixes: #24848
* Autogen: set SKIP_LINTING ON for generated filesOrkun Tokdemir2023-05-165-0/+49
| | | | Fixes: #19772
* Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not setOrkun Tokdemir2023-05-034-2/+32
| | | | Add policy CMP0151 to preserve the old behavior by default.
* Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target propertyOrkun Tokdemir2023-05-035-0/+77
| | | | | | | `AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE` is a boolean property that can be set on a target to indicate that the autogen target include directory should be added as a system include directory or normal include directory to the target.
* Tests: Fix RunCMake infrastructure for LCC and CMP0129Brad King2023-04-031-1/+0
| | | | | | | | | | Since commit 3958ed878f (LCC: Add policy CMP0129 regarding interpreting LCC as GNU, 2021-10-19, v3.23.0-rc1~508^2) we intended to enable policy `CMP0129` in RunCMake tests via `-DCMAKE_POLICY_DEFAULT_CMP0129=NEW`. Fix the condition activating that to check `CMAKE_C_COMPILER_ID` where it is always available. Remove now-unnecessary CMP0129 settings in RunCMake cases.
* Autogen: Add target's C++ standard to moc_predef.hOrkun Tokdemir2023-03-306-0/+114
| | | | | | | | | Generate `moc_predef.h` using the same C++ standard level that will be used to compile the target so that the compiler's predefined macros can be more accurately recovered. Fixes: #24624 Qt-Issue: https://bugreports.qt.io/browse/QTBUG-110847
* Tests: Add support for testing Qt6Craig Scott2021-10-046-12/+18
| | | | | | | | | | | | The minimum CMake version for Qt6 is 3.16, so all the calls to cmake_minimum_required() are updated here to enforce that minimum. This will avoid any CMake version-related warnings from Qt. Avoid hard-coding Qt5 where the tests could now be using Qt5 or Qt6. Fixes: #22188
* Tests/RunCMake/Autogen: test CMP0111 behaviorBen Boeckel2021-09-245-0/+75
| | | | | | | On Windows, imported shared libraries which only have an `IMPORTED_IMPLIB` set fail if they are depended upon by a target using automoc. Add a test for the behavior of depending upon all imported target types from an automoc-using target.
* Tests: add cases for providing Qt5Core_VERSION manuallyBen Boeckel2019-01-305-0/+64
|
* Autogen: Adaptive missing Qt warningSebastian Holtermann2019-01-151-1/+1
| | | | | This makes the warning message for a missing Qt use the requested Qt version in the message text.
* Autogen: Add and use QtAutoGen::Tools methodSebastian Holtermann2019-01-151-1/+1
|
* Tests: Add case for warning when AUTOMOC/UIC/RCC gets disabledBrad King2019-01-115-0/+20