summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Tests: Add AUTOGEN_TARGET_DEPENDS test to mocDepends testsSebastian Holtermann2017-09-0710-54/+128
|
* Autogen: Fix and extend SKIP_AUTOMOC testSebastian Holtermann2017-08-225-4/+59
|
* Autogen: Add test for AUTOMOC_MACRO_NAMESSebastian Holtermann2017-08-185-0/+52
|
* Merge branch 'backport-autogen-autouic-lookup' into autogen-autouic-lookupBrad King2017-08-156-1/+105
|\
| * Autogen: Extend AUTOUIC search paths testSebastian Holtermann2017-08-156-1/+105
| |
* | Autogen: Add test for OBJECT librariesSebastian Holtermann2017-08-108-0/+93
| |
* | Autogen: Make test per-config include directory compatibleSebastian Holtermann2017-08-051-2/+4
| |
* | Autogen: Add AUTOMOC test for target dependencies forwardingSebastian Holtermann2017-08-016-33/+95
| | | | | | | | | | | | | | | | | | | | Adds an AUTOMOC test that tests if dependencies from add_dependencies() of an ORIGIN target are forwarded to the ORIGIN_autogen target. Also fixes the AUTOMOC test that tests if dependencies from target_link_libraries() of an ORIGIN target are forwarded to the ORIGIN_autogen target. The test now fails in the ORIGIN_autogen build if SimpleLib wasn't built before.
* | Autogen: Move repeated tests to new QtAutogenRerun testSebastian Holtermann2017-07-2134-508/+0
| | | | | | | | | | | | By moving QtAutogen tests that run repeatedly to a new QtAutogenRerun test, the `ctest -R Qt[45]Autogen -j4` call runs approximately 25% faster.
* | Autogen: Extended mocInclude testsSebastian Holtermann2017-07-2060-272/+927
| | | | | | | | The extended tests cover more AUTOMOC use cases.
* | Autogen: Process GENERATED files. Add CMP0071.Sebastian Holtermann2017-07-1813-15/+117
| | | | | | | | | | | | | | | | | | | | This lets AUTOMOC and AUTOUIC process GENERATED files which used to be ignored before. A new policy CMP0071 ensures that the old behavior of ignoring GENERATED files is enabled when the CMake compatibility version CMAKE_MINIMUM_REQUIRED is < 3.10. Closes #16186
* | Merge topic 'autogen-no-generated-files'Brad King2017-07-102-0/+3
|\ \ | |/ | | | | | | | | | | 9a34e95a Autogen: Skip generated files for compatibility with CMake 3.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1033
| * Autogen: Skip generated files for compatibility with CMake 3.8Brad King2017-07-072-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.9.0-rc1~464^2~8 (Autogen: Add AUTOMOC/UIC support for generated source files, 2017-03-02) changes behavior of existing projects that may not expect `AUTOGEN` on generated files and do not yet set `SKIP_AUTOGEN` on them. Disable the behavior change for now to fix the regression for CMake 3.9. We can restore it later with a policy. In order to keep the implementation and tests working, add an undocumented property we can use in the tests to enable the behavior before the policy is introduced. Fixes: #17031 Issue: #16186
* | Autogen: Q_OBJECT behind brace testSebastian Holtermann2017-06-206-9/+65
| |
* | Autogen: Tests: Disable some tests on non ASCII build pathsSebastian Holtermann2017-06-131-23/+41
| |
* | Autogen: Tests fix for utf8 pathsSebastian Holtermann2017-06-121-2/+2
|/
* Tests: Fix Qt5Autogen test on XcodeBrad King2017-05-302-4/+5
| | | | | | | Fix the `mocPlugin` project to provide `mocPlugin.xcodeproj` instead of `Project.xcodeproj` so that the `try_compile` project name matches. Also search in the `Debug` subdirectory of the `try_compile` build tree for the resulting binaries, to work with multi-config generators.
* Autogen: Tests: More rigorous rcc rebuild testsSebastian Holtermann2017-03-237-47/+93
| | | | Closes: #16103
* Autogen: Test: Add mocDepends testSebastian Holtermann2017-03-069-0/+119
|
* Autogen: Test: Add generated qrc file to rccDepends testSebastian Holtermann2017-03-066-9/+39
|
* Autogen: Test: Add generated file to moc rerun testSebastian Holtermann2017-03-065-18/+37
|
* Autogen: Test: Add timestamp comparison to moc rerun testSebastian Holtermann2017-03-063-15/+32
|
* Autogen: Test: Rename automoc_rerun test to mocRerunSebastian Holtermann2017-03-067-9/+9
|
* Autogen: Test: Rename autorcc_depends test to rccDependsSebastian Holtermann2017-03-065-8/+8
|
* Autogen: Add AUTOUIC_SEARCH_PATHS testSebastian Holtermann2017-03-027-0/+100
|
* Autogen: Fix for Q_PLUGIN_METADATA change detection testSebastian Holtermann2017-02-264-45/+46
|
* Autogen: Add AUTOMOC_DEPEND_FILTERS testSebastian Holtermann2017-02-2210-6/+46
|
* Autogen: Don't use .moc include in Q_PLUGIN_METADATA testSebastian Holtermann2017-02-212-12/+8
|
* Autogen: Tests: Set different compression levels in rcc testSebastian Holtermann2017-02-211-0/+11
|
* Autogen: Tests: Add Q_PLUGIN_METADATA testSebastian Holtermann2017-02-2117-2/+203
|
* Autogen: Tests: Add moc include testsSebastian Holtermann2017-02-2119-0/+354
|
* Autogen: Tests: Clean commentsSebastian Holtermann2017-02-211-11/+11
|
* AUTOGEN: Tests: AUTORCC SKIP_AUTORCC and SKIP_AUTOGEN testSebastian Holtermann2017-01-105-0/+46
|
* AUTOGEN: Tests: AUTOUIC SKIP_AUTOUIC and SKIP_AUTOGEN testSebastian Holtermann2017-01-1012-0/+147
|
* AUTOGEN: Tests: AUTOMOC SKIP_AUTOMOC and SKIP_AUTOGEN testSebastian Holtermann2017-01-108-0/+90
|
* QtAutogen: Tests: Increase minimum required CMake versionSebastian Holtermann2016-12-074-4/+4
|
* QtAutogen: Tests: Don't use std::auto_ptrSebastian Holtermann2016-12-072-2/+7
|
* QtAutogen: Tests: Don't include CMAKE_CURRENT_BINARY_DIRSebastian Holtermann2016-12-075-7/+3
|
* QtAutogen tests: Pass Qt compiler features to library targetsSebastian Holtermann2016-11-292-1/+7
|
* QtAutogen tests: Move the complex test case to a subdirectorySebastian Holtermann2016-11-2956-83/+88
|
* QtAutogen tests: Extend test description in CMakeLists.txtSebastian Holtermann2016-11-291-6/+14
|
* QtAutogen tests: Move independent sameName test to top list of CMakeLists.txtSebastian Holtermann2016-11-291-3/+4
|
* QtAutogen tests: Rename uiconly target to camel case uicOnlySebastian Holtermann2016-11-294-4/+6
| | | | Also move uicOnly sources to dedicated uicOnlySource directory.
* QtAutogen tests: Rename rcc_empty target to camel case rccEmptySebastian Holtermann2016-11-293-7/+6
|
* QtAutogen tests: Rename rcconly target to camel case rccOnly.Sebastian Holtermann2016-11-293-6/+11
| | | | Also add dedicated rccOnlyRes.qrc file for the rccOnly target.
* QtAutogen: Add test for empty qrc fileSebastian Holtermann2016-09-303-0/+19
|
* Simplify CMake per-source license noticesBrad King2016-09-2714-182/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Tests/QtAutogen: Test same moc/qrc source names in different directoriesSebastian Holtermann2016-08-1021-0/+237
|
* Autogen: Revert changes to generate moc/rcc in subdirectoriesBrad King2016-07-2119-218/+0
| | | | | | | | | | | | | | | | | | | Revert these commits: * v3.6.0-rc1~134^2 Tests: QtAutogen: Same source name in different directories test, 2016-04-13 * v3.6.0-rc1~134^2~1 Autogen: Generate qrc_NAME.cpp files in subdirectories, 2016-04-19 * v3.6.0-rc1~134^2~2 Autogen: Generate not included moc files in subdirectories, 2016-04-19 They regress existing builds that depend on the paths/symbols generated previously. Another approach will be needed to solve the name collision problem they were intended to solve. Leave the error diagnostics for the colliding cases that were added in the same topic as the above commits because they provide a useful early failure in relevant cases. Fixes #16209.
* Revise C++ coding style using clang-formatKitware Robot2016-05-1653-859/+830
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.