1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-06-24 21:19:12 +08:00

341 Commits

Author SHA1 Message Date
Sebastian Holtermann
28ee378405 Autogen: Fix headers not skipped 2017-02-15 21:00:39 +01:00
Sebastian Holtermann
bb670d9625 Autogen: Generators: Remove space 2017-01-13 00:00:45 +01:00
Sebastian Holtermann
3f86032bda Autogen: Generators: Rename requiresMocing method 2017-01-13 00:00:45 +01:00
Sebastian Holtermann
f24e1d37ce Autogen: Generators: Fix clang-tidy readability-else-after-return 2017-01-13 00:00:45 +01:00
Sebastian Holtermann
d7d2cb48c6 Autogen: Generators: Save the UIC/RCC settings that were actually used 2017-01-13 00:00:44 +01:00
Sebastian Holtermann
721997a7a2 Autogen: Generators: Dedicated generateAll variables for MOC/UIC/RCC 2017-01-13 00:00:44 +01:00
Sebastian Holtermann
9f47d32697 Autogen: Generators: Save the MOC settings that were actually used 2017-01-13 00:00:44 +01:00
Sebastian Holtermann
597124ba8e Autogen: Generators: Add function to read makefile definitions config aware 2017-01-13 00:00:44 +01:00
Sebastian Holtermann
2b400b2421 Autogen: Generators: Move moc/uic/rcc executable test to generate method 2017-01-13 00:00:44 +01:00
Sebastian Holtermann
edf0b8a52b Autogen: Generators: Rename GenerateFoo methods to FooGenerate 2017-01-13 00:00:44 +01:00
Sebastian Holtermann
06430919f4 Autogen: Generators: Use FileAbsentOrOlder for UIC tests 2017-01-13 00:00:43 +01:00
Sebastian Holtermann
ca179f2afc Autogen: Generators: Use FileAbsentOrOlder for MOC tests 2017-01-13 00:00:43 +01:00
Sebastian Holtermann
119791ae52 Autogen: Generators: Introduce FileAbsentOrOlder function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann
95e4cfc594 Autogen: Generators: Simplify (and fix) JoinExts function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann
6c55755bdd Autogen: Generators: Make class static method a source static function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann
1491ab1c66 Autogen: Generators: Make class static method a source static function 2017-01-13 00:00:43 +01:00
Sebastian Holtermann
29112c9a69 Autogen: Generators: Static function upper case rename 2017-01-13 00:00:42 +01:00
Sebastian Holtermann
6d333be14d Autogen: Generators: Static function upper case rename 2017-01-13 00:00:42 +01:00
Sebastian Holtermann
52688bf745 Autogen: Generators: Sort methods by task 2017-01-13 00:00:42 +01:00
Sebastian Holtermann
0699760d5c AUTOGEN: Generators: Do moc/uic skip test during file list generation 2017-01-10 12:49:16 +01:00
Sebastian Holtermann
a84f0bb726 AUTOGEN: Generators: Message upper/lower case unification 2017-01-10 12:49:16 +01:00
Sebastian Holtermann
7b766b8395 AUTOGEN: Generators: Use single moc/uic skip test method only 2017-01-10 12:49:16 +01:00
Sebastian Holtermann
2964b8cca4 AUTOGEN: Generators: Use AUTOMOC/UIC/RCC instead of AUTOGEN in messages 2017-01-10 12:49:16 +01:00
Sebastian Holtermann
d58b6bf31c AUTOGEN: Generators: Moc/UicSkipTest methods 2017-01-10 12:49:16 +01:00
Sebastian Holtermann
94c319f933 AUTOGEN: Generators: Use separate header lists for MOC and UIC
This is necessary for the skipMoc and skipUic lists to work properly.
2017-01-10 12:49:16 +01:00
Sebastian Holtermann
966be439e0 AUTOGEN: Generators: Be verbose about skipping files 2017-01-10 12:49:15 +01:00
Sebastian Holtermann
de53143288 AUTOGEN: Generators: Remove unused variable 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
6ae19bf32e AUTOGEN: Generators: Add dedicated method for moc content parsing 2017-01-10 12:49:14 +01:00
Sebastian Holtermann
9986da4f0f AUTOGEN: Generators: Split config SKIP_MOC and SKIP_UIC into vectors 2017-01-10 12:49:14 +01:00
Sebastian Holtermann
d51cc88e84 AUTOGEN: Generators: Split config headers/sources into vector 2017-01-10 12:49:14 +01:00
Sebastian Holtermann
cf1d5a9cdb AUTOGEN: Generators: Rename ParseForUic method 2017-01-10 12:49:14 +01:00
Sebastian Holtermann
f962275987 AUTOGEN: Generators: Group static function definitions 2017-01-10 12:49:14 +01:00
Sebastian Holtermann
c736c41ad1 AUTOGEN: Generators: Use precompiled regular expressions 2017-01-10 12:49:14 +01:00
Sebastian Holtermann
cbd650c264 AUTOGEN: Generators: Use unified ParseSourceFile and drop old methods 2017-01-10 12:49:14 +01:00
Sebastian Holtermann
0b1527ff3d AUTOGEN: Generators: Introduce unified ParseSourceFile
The new cmQtAutoGenerators::ParseSourceFile method combines the
functionality of ParseCppFile and StrictParseCppFile in a single method
to avoid code duplication. Relaxed or strict mode is selected by an
additional bool argument.
2017-01-10 12:49:13 +01:00
Sebastian Holtermann
2b9d795e63 AUTOGEN: Generators: Comments 2017-01-10 12:49:13 +01:00
Sebastian Holtermann
2cfcdf757d AUTOGEN: Generators: Variable rename 2017-01-10 12:49:13 +01:00
Sebastian Holtermann
2f67aef23d AUTOGEN: Generators: Cleanup and optimize ParseForUic method 2017-01-10 12:49:13 +01:00
Sebastian Holtermann
794fdf40a1 AUTOGEN: Generators: Cleanup variable initialization 2017-01-10 12:49:13 +01:00
Sebastian Holtermann
a1e49bb155 AUTOGEN: Generators: rename makeParentDirectory to MakeParentDirectory 2017-01-10 12:49:13 +01:00
Daniel Pfeifer
a74e689348 clang-tidy: apply readability-redundant-string-init fixes 2016-12-12 14:04:13 -05:00
Sebastian Holtermann
43d77e1dad QtAutogen: Don't use std::i/ofstream::is_open() 2016-12-07 08:24:04 -05:00
Sebastian Holtermann
98665c3519 QtAutogen: Rename and sort variables 2016-12-07 08:24:04 -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
8c6f990fb6 QtAutogen: New common bold logging method 2016-12-07 08:23:58 -05:00