summaryrefslogtreecommitdiff
path: root/Source/cmQtAutoGenerators.h
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Generators: Rename requiresMocing methodSebastian Holtermann2017-01-131-1/+1
|
* Autogen: Generators: Save the UIC/RCC settings that were actually usedSebastian Holtermann2017-01-131-4/+8
|
* Autogen: Generators: Dedicated generateAll variables for MOC/UIC/RCCSebastian Holtermann2017-01-131-1/+3
|
* Autogen: Generators: Save the MOC settings that were actually usedSebastian Holtermann2017-01-131-7/+5
|
* Autogen: Generators: Rename GenerateFoo methods to FooGenerateSebastian Holtermann2017-01-131-10/+11
|
* Autogen: Generators: Introduce FileAbsentOrOlder functionSebastian Holtermann2017-01-131-2/+0
|
* Autogen: Generators: Make class static method a source static functionSebastian Holtermann2017-01-131-1/+0
|
* Autogen: Generators: Make class static method a source static functionSebastian Holtermann2017-01-131-3/+0
|
* Autogen: Generators: Sort methods by taskSebastian Holtermann2017-01-131-36/+35
|
* AUTOGEN: Generators: Moc/UicSkipTest methodsSebastian Holtermann2017-01-101-0/+3
|
* AUTOGEN: Generators: Use separate header lists for MOC and UICSebastian Holtermann2017-01-101-3/+5
| | | | This is necessary for the skipMoc and skipUic lists to work properly.
* AUTOGEN: Generators: Add dedicated method for moc content parsingSebastian Holtermann2017-01-101-0/+6
|
* AUTOGEN: Generators: Split config SKIP_MOC and SKIP_UIC into vectorsSebastian Holtermann2017-01-101-2/+2
|
* AUTOGEN: Generators: Split config headers/sources into vectorSebastian Holtermann2017-01-101-2/+2
|
* AUTOGEN: Generators: Rename ParseForUic methodSebastian Holtermann2017-01-101-1/+1
|
* AUTOGEN: Generators: Use precompiled regular expressionsSebastian Holtermann2017-01-101-0/+7
|
* AUTOGEN: Generators: Use unified ParseSourceFile and drop old methodsSebastian Holtermann2017-01-101-10/+0
|
* AUTOGEN: Generators: Introduce unified ParseSourceFileSebastian Holtermann2017-01-101-0/+6
| | | | | | | 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.
* AUTOGEN: Generators: rename makeParentDirectory to MakeParentDirectorySebastian Holtermann2017-01-101-1/+1
|
* QtAutogen: Rename and sort variablesSebastian Holtermann2016-12-071-18/+24
|
* QtAutogen: Generate included ui_ and moc_ files in _automoc/includesSebastian Holtermann2016-12-071-1/+5
| | | | | | | | | | 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.
* QtAutogen: Use checksum based subdirectories to avoid name collisionsSebastian Holtermann2016-12-071-0/+3
|
* QtAutogen: New common bold logging methodSebastian Holtermann2016-12-071-0/+1
|
* QtAutogen: Make sure parent directory exists before writing filesSebastian Holtermann2016-12-071-0/+2
|
* QtAutogen: Improved error handlingSebastian Holtermann2016-12-071-2/+2
|
* QtAutogen: Error and warning log method tweaksSebastian Holtermann2016-12-071-2/+4
|
* QtAutogen: Improved error recognition on config loadSebastian Holtermann2016-12-071-2/+2
|
* QtAutogen: Rename config AM_RELAXED_MODE to AM_MOC_RELAXED_MODESebastian Holtermann2016-12-061-1/+1
|
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix a load of include-what-you-use violationsDaniel Pfeifer2016-09-031-3/+2
|
* make sure to include cmConfigure.h before cmStandardIncludes.hDaniel Pfeifer2016-09-031-0/+2
|
* QtAutogen: Allow multiple qrc files with the same nameSebastian Holtermann2016-08-101-1/+2
| | | | Use cmFilePathUuid for qrc files.
* QtAutogen: Allow multiple moc files with the same nameSebastian Holtermann2016-08-101-1/+2
| | | | | | Use cmFilePathUuid for moc files. Closes: #12873
* Autogen: Revert changes to generate moc/rcc in subdirectoriesBrad King2016-07-211-4/+1
| | | | | | | | | | | | | | | | | | | 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-161-36/+40
| | | | | | | | | | | | | 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.
* Format include directive blocks and ordering with clang-formatBrad King2016-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Source: Stabilize include orderBrad King2016-04-291-0/+2
| | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them.
* Autogen: Message cleanups: Compose messages in std::stringstreamSebastian Holtermann2016-04-251-1/+4
| | | | | To avoid Race conditions with other processes writing to stdout/stderr compose the whole message in a std::stringstream then submit the single complete message.
* Autogen: Generate not included moc files in subdirectories (#12873)Sebastian Holtermann2016-04-221-1/+4
| | | | | | | Not included moc files generated from a source file in CMAKE_CURRENT_SOURCE_DIR/SUBDIR will be generated in the directory CMAKE_CURRENT_BINARY_DIR/TARGETNAME_automoc.dir/SUBDIR/
* Autogen: Check added for name collisions of generated moc filesSebastian Holtermann2016-04-221-0/+5
| | | | | The test exits with an error if two or more source files would generate the same moc file.
* Autogen: Qrc processing: Generate single map with final input / output namesSebastian Holtermann2016-04-191-0/+2
|
* Autogen: Ui processing: Generate single map with final input / output namesSebastian Holtermann2016-04-191-1/+3
| | | | The single map allows name collision testing (in a later commit)
* Autogen: Split out UI file generation code to dedicated methodSebastian Holtermann2016-04-191-0/+2
|
* Autogen: Split out moc file generation code to dedicated methodSebastian Holtermann2016-04-191-0/+4
|
* Autogen: Rename method GenerateQrc{ => Files}Sebastian Holtermann2016-04-191-1/+1
|
* Autogen: New logCommand method. It prints commands using std::cout.Sebastian Holtermann2016-04-191-0/+1
|
* Autogen: Rename header extension Join method to JoinExtsSebastian Holtermann2016-04-191-1/+1
| | | | While at it, simplify the signature and avoid a trailing separator.
* Autogen: Use SystemTools string functions instead of rolling out ownSebastian Holtermann2016-04-191-2/+0
|
* QtAutogen: Split initializer class into separate file.Stephen Kelly2015-09-291-41/+0
|
* QtAutogen: Split initializer methods into separate class.Stephen Kelly2015-09-261-15/+21
|