Daniel Pfeifer
1d829c862c
Use quotes for non-system includes
...
Automate with:
git grep -l '#include <cm_' -- Source \
| xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
git grep -l '#include <cmsys/' -- Source \
| xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
git grep -l '#include <cm[A-Z]' -- Source \
| xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
2017-04-11 22:35:21 +02:00
Daniel Pfeifer
5afac50f68
cmConfigure: Ensure separate include block in headers
...
Make sure that `#include <cmConfigure.h>` is followed by an empty line
in header files. This is necessary to make sure that changing <> to ""
does not affect the include ordering of clang-format.
Automate with:
git grep -l '#include <cmConfigure.h>' | grep -v '.cxx$' \
| xargs sed -i '/#include <cmConfigure.h>/ { N; N; s/\n\{1,2\}/\n\n/ }'
2017-04-11 22:35:20 +02:00
Sebastian Holtermann
60274e1d94
Autogen: Add RunCommand method with built in logging
2017-03-06 22:01:03 +01:00
Sebastian Holtermann
8f2ad9c4a0
Autogen: Error return when a scan file is not readable
2017-03-06 22:01:03 +01:00
Sebastian Holtermann
662ad240db
Autogen: Rename and merge moc related methods
2017-03-02 09:10:02 -05:00
Sebastian Holtermann
1cdf7c1be2
Autogen: Add AUTOUIC_SEARCH_PATHS support
...
Closes #15227
2017-03-02 09:10:01 -05:00
Sebastian Holtermann
110c1bf475
Autogen: Add subDirPrefix function
2017-03-02 09:10:01 -05:00
Sebastian Holtermann
db431ecfe3
Autogen: Merge FindInIncludeDirectories into FindIncludeFile
2017-03-01 15:30:28 +01:00
Sebastian Holtermann
70ebf35cda
Autogen: Add AUTOMOC_DEPEND_FILTERS support
2017-02-22 21:13:48 +01:00
Sebastian Holtermann
c23206b6c1
Autogen: Log simplifications
...
The logging methods now automatically add an end-of-line
to the message if it is missing.
2017-02-21 10:12:55 -05:00
Sebastian Holtermann
03df033bfa
Autogen: Rebuild moc when Q_PLUGIN_METADATA json file changes
...
Closes #15419
2017-02-21 10:12:54 -05:00
Sebastian Holtermann
41fb64e719
Autogen: Search moc includes in include directories
2017-02-21 10:12:54 -05:00
Sebastian Holtermann
80a007534f
Autogen: Add FindInIncludeDirectories method
2017-02-21 10:12:53 -05:00
Sebastian Holtermann
f379fdbb9e
Autogen: Synchronize header/source argument names
2017-02-21 10:12:53 -05:00
Sebastian Holtermann
ddf940725e
Autogen: Split moc include paths on info reading
2017-02-21 10:12:53 -05:00
Sebastian Holtermann
71c5ae253c
Autogen: Loop based macro detection instead of code duplication
2017-02-21 10:12:52 -05:00
Sebastian Holtermann
4c60099fea
Autogen: Acquire and store header extensions in Init()
2017-02-21 10:12:51 -05:00
Sebastian Holtermann
815a05cf12
Autogen: Overhaul FindMatchingHeader function
2017-02-21 10:12:51 -05:00
Sebastian Holtermann
25dbfbc2a9
Autogen: Rename moc related variables
2017-02-21 10:12:50 -05:00
Sebastian Holtermann
3cc42863a4
Autogen: Overhaul moc include list generation
2017-02-21 10:12:49 -05:00
Sebastian Holtermann
b2063fd70f
Autogen: Move method declarations; Remove comments
2017-02-19 12:35:43 +01:00
Sebastian Holtermann
10beb4a034
Autogen: Rename SkipFoo variables/methods to FooSkip
2017-02-19 12:35:43 +01:00
Sebastian Holtermann
f37f1a647d
Autogen: Split moc options info string immediately
2017-02-19 12:35:43 +01:00
Sebastian Holtermann
5bb997c24a
Autogen: Split moc compile options info string immediately
2017-02-19 12:35:42 +01:00
Sebastian Holtermann
a9e3c903b6
Autogen: Rename variables read from info file
2017-02-19 12:35:42 +01:00
Sebastian Holtermann
2f3ecd4ea9
Autogen: Inline settings string generation methods
2017-02-19 12:35:42 +01:00
Sebastian Holtermann
739592c925
Autogen: Rename settings string variables
2017-02-19 12:35:42 +01:00
Sebastian Holtermann
ad1f21313f
Autogen: Make methods const
2017-02-19 12:35:42 +01:00
Sebastian Holtermann
d3a9887149
Autogen: Add method for checksum based path generation
2017-02-19 12:35:42 +01:00
Sebastian Holtermann
2fed7bcc1f
Autogen: Single point of return in RccGenerateFile
2017-02-19 12:35:41 +01:00
Sebastian Holtermann
22faeef262
Autogen: Add FooEnabled() utility methods
2017-02-19 12:35:40 +01:00
Sebastian Holtermann
763f717ce2
Autogen: Rename settings string generation methods
2017-02-19 12:35:40 +01:00
Sebastian Holtermann
3ee2b1623e
Autogen: Rename settings file read/write methods
2017-02-19 12:35:40 +01:00
Sebastian Holtermann
6b31416d6c
Autogen: Add GenerateAllAny flag test method
2017-02-19 12:35:39 +01:00
Sebastian Holtermann
1bd74130f2
Autogen: Rename GenerateFooAll variables to GenerateAllFoo
2017-02-19 12:35:39 +01:00
Sebastian Holtermann
3f86032bda
Autogen: Generators: Rename requiresMocing method
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
edf0b8a52b
Autogen: Generators: Rename GenerateFoo methods to FooGenerate
2017-01-13 00:00:44 +01:00
Sebastian Holtermann
119791ae52
Autogen: Generators: Introduce FileAbsentOrOlder 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
52688bf745
Autogen: Generators: Sort methods by task
2017-01-13 00:00:42 +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
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