1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-27 22:52:43 +08:00

91 Commits

Author SHA1 Message Date
Sebastian Holtermann
1cdf7c1be2 Autogen: Add AUTOUIC_SEARCH_PATHS support
Closes #15227
2017-03-02 09:10:01 -05:00
Sebastian Holtermann
70ebf35cda Autogen: Add AUTOMOC_DEPEND_FILTERS support 2017-02-22 21:13:48 +01:00
Sebastian Holtermann
9d1db7d7c3 Autogen: Overhaul and simplify AutogenInfo.cmake file generation 2017-02-21 10:38:50 -05:00
Sebastian Holtermann
0ab817fa1e Autogen: Optimize GetCompileDefinitionsAndDirectories function 2017-02-21 10:38:50 -05:00
Sebastian Holtermann
754d431813 Autogen: Sort AutogenInfo.cmake.in
Also rename AM_SKIP_MOC to AM_MOC_SKIP
and AM_SKIP_UIC to AM_UIC_SKIP
2017-02-21 10:38:49 -05:00
Sebastian Holtermann
f27c5852b0 Autogen: Initializer: Add old settings file to clean files 2017-01-13 00:00:44 +01:00
Sebastian Holtermann
d8e45536fb AUTOGEN: Initializer: Always remember skipped files 2017-01-10 12:49:15 +01:00
Sebastian Holtermann
d9313a8290 AUTOGEN: Initializer: Enable SKIP_AUTOGEN on all AUTOGEN generated sources 2017-01-10 12:49:15 +01:00
Sebastian Holtermann
32d3540e09 AUTOGEN: Initializer: Introduce SKIP_AUTOGEN checks 2017-01-10 12:49:15 +01:00
Sebastian Holtermann
e7280a7f17 AUTOGEN: Rename config variables
The new names describe the variables use cases better.
2017-01-10 12:49:15 +01:00
Sebastian Holtermann
63d3ca4c1c AUTOGEN: Make skipMoc and skipUic blacklists behave the same way
Before skipMoc was a list of files that were not included in the
sources. Now the skipMoc files are added to the sources as well in case
they are needed for uic processing. skipMoc becomes a blacklist just like
skipUic.
2017-01-10 12:49:15 +01:00
Sebastian Holtermann
df74f3ff83 QtAutogen: Generate rcc output file names in one place only 2016-12-07 08:24:04 -05:00
Sebastian Holtermann
bafbeaf190 QtAutogen: Add rcc output files to autogen target byproducts 2016-12-07 08:24:03 -05:00
Sebastian Holtermann
8f437f3c35 QtAutogen: Add moc compilation file to autogen target byproducts
Closes: #16389
2016-12-07 08:24:03 -05:00
Sebastian Holtermann
360c342711 QtAutogen: Reconfigure when .qrc file changes
Add .qrc files to the CMake depends.
When the .qrc file changes the build system gets reconfigured
and the resource files watch list gets updated.
2016-12-07 08:24:03 -05:00
Sebastian Holtermann
b5409d04f1 QtAutogen: Rename autogen target to *_autogen from *_automoc 2016-12-07 08:24:02 -05:00
Sebastian Holtermann
d9996aab74 QtAutogen: Inline single use variable definitions 2016-12-07 08:24:02 -05:00
Sebastian Holtermann
b770b85d6c QtAutogen: Determine the Qt major version in only one way 2016-12-07 08:24:01 -05:00
Sebastian Holtermann
5c3dc7460e QtAutogen: Clean removes autogen build directory
Cleaning removes the entire autogen build directory instead
of single files.
2016-12-07 08:24:01 -05:00
Sebastian Holtermann
8c9358386b QtAutogen: Generate included ui_ and moc_ files in _automoc/includes
ui_ and moc_ files that are include in source files get generated in
$CURRENT_BUILD_DIR/$TARGETNAME_automoc/include.
The directory is added to the INCLUDE_DIRECTORIES of the origin target
in the generation stage.

From now on all autogen files get generated below
$CURRENT_BUILD_DIR/$TARGETNAME_automoc.
2016-12-07 08:24:01 -05:00
Sebastian Holtermann
057ac11bfb QtAutogen: Use checksum based subdirectories to avoid name collisions 2016-12-07 08:24:00 -05:00
Sebastian Holtermann
d3afe4070b QtAutogen: Remove .dir suffix from automoc build directory 2016-12-07 08:23:59 -05:00
Sebastian Holtermann
6f53b1ab64 QtAutogen: Generate moc compilation in _automoc.dir/moc_compilation.cpp 2016-12-07 08:23:59 -05:00
Sebastian Holtermann
39e07d7a17 QtAutogen: Use upper case for MOC, UIC and RCC in messages 2016-12-07 08:23:59 -05:00
Sebastian Holtermann
69871e67e3 QtAutogen: Comments 2016-12-06 15:59:27 +01:00
Sebastian Holtermann
9360e28816 QtAutogen: For loop feature test optimization 2016-12-06 15:59:27 +01:00
Sebastian Holtermann
8548caa3ee QtAutogen: Variable scope optimizations 2016-12-06 15:59:27 +01:00
Sebastian Holtermann
9d9c68e21a QtAutogen: Rename variable templates in config template 2016-12-06 15:59:27 +01:00
Sebastian Holtermann
bb8c96689f QtAutogen: Make strings const 2016-12-06 15:59:27 +01:00
Sebastian Holtermann
4fa858ecb1 QtAutogen: Change config file permissions only on demand 2016-12-06 15:59:26 +01:00
Sebastian Holtermann
273e481e48 QtAutogen: Inline single use variable 2016-12-06 15:59:26 +01:00
Sebastian Holtermann
6f024008ce QtAutogen: Remove unused intermediate definition in makefile 2016-12-06 15:59:26 +01:00
Sebastian Holtermann
ff1a01b743 QtAutogen: Moc related variable renamed 2016-12-06 15:59:26 +01:00
Sebastian Holtermann
f448364de8 QtAutogen: Moc related variable renamed 2016-12-06 15:59:26 +01:00
Sebastian Holtermann
4eadf2ce3f QtAutogen: Target directory name function rename 2016-12-06 15:59:26 +01:00
Sebastian Holtermann
2e18801a1b QtAutogen: Move util functions to file begin 2016-12-06 15:59:25 +01:00
Sebastian Holtermann
048aac2cf9 QtAutogen: Moc related setup function rename 2016-12-06 15:59:25 +01:00
Sebastian Holtermann
c9e2208278 QtAutogen: Uic related function rename 2016-12-06 15:59:25 +01:00
Sebastian Holtermann
26505dfcb7 QtAutogen: Uic related setup function rename 2016-12-06 15:59:25 +01:00
Sebastian Holtermann
fc055c04e1 QtAutogen: Rcc related function rename 2016-12-06 15:59:25 +01:00
Sebastian Holtermann
9eba41479b QtAutogen: Rcc related function rename 2016-12-06 15:59:25 +01:00
Sebastian Holtermann
693d85f8d6 QtAutogen: Rcc related list function rename 2016-12-06 15:59:25 +01:00
Sebastian Holtermann
43747ee8b3 QtAutogen: Rcc related setup function rename 2016-12-06 15:59:24 +01:00
Sebastian Holtermann
8de8d3b191 QtAutogen: Remove and inline ReadAll function
The function was only used once.
2016-12-06 15:59:24 +01:00
Sebastian Holtermann
d0283dc185 QtAutogen: Use shorter name for static function 2016-12-06 15:59:24 +01:00
Sebastian Holtermann
2c9667e897 QtAutogen: Use util prefix for static function name 2016-12-06 15:59:24 +01:00
Daniel Pfeifer
2e620f0b38 Fix several include-what-you-use findings 2016-11-08 09:42:04 -05:00
Stephen Kelly
e6eecec761 cmListFileCache: Remove cmState header include
Include it in dependents which have previously relied on it
transitively.
2016-10-19 15:41:00 +02:00
Stephen Kelly
a91eaf3872 cmState: Port dependents to new cmStateTypes header 2016-10-19 15:40:59 +02:00
Sebastian Holtermann
a189d019dd QtAutogen: Use cmSystemTools::Error instead of std::cerr
We can use std::cerr only in the build-time tool, not during CMake
generation.
2016-09-30 10:12:59 -04:00