Commit Graph

22206 Commits

Author SHA1 Message Date
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 2296a2e9ee cmFilePathChecksum: Make methods const useable 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 6ae09b7c14 Autogen: Use nested loops instead of code duplication 2017-02-19 12:35:41 +01:00
Sebastian Holtermann 9a7c9efeea Autogen: Use cmSystemTools::Stdout/err instead of std::cout/err 2017-02-19 12:35:41 +01:00
Sebastian Holtermann 86c2b552ad Autogen: LogWarning method fix 2017-02-19 12:35:41 +01:00
Sebastian Holtermann 2fed7bcc1f Autogen: Single point of return in RccGenerateFile 2017-02-19 12:35:41 +01:00
Sebastian Holtermann c29950cc1f Autogen: Single point of return in UicGenerateFile 2017-02-19 12:35:41 +01:00
Sebastian Holtermann 74a2fcff50 Autogen: Single point of return in MocGenerateFile 2017-02-19 12:35:41 +01:00
Sebastian Holtermann 21886ff66a Autogen: Use FooEnabled() utility methods 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 32d0ee3576 Autogen: Generate empty settings string for disabled feature 2017-02-19 12:35:40 +01:00
Sebastian Holtermann 119876e6d5 Autogen: Simplify settings write method 2017-02-19 12:35:40 +01:00
Sebastian Holtermann c88a3f7228 Autogen: Simplify settings read method 2017-02-19 12:35:40 +01:00
Sebastian Holtermann 25f0c2e14b Autogen: Rename settings key variables 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 ec24dcdb36 Autogen: Remove unnecessary test 2017-02-19 12:35:39 +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
Kitware Robot 96b6afdc42 CMake Nightly Date Stamp 2017-02-19 00:01:03 -05:00
Kitware Robot 74e83c5ff5 CMake Nightly Date Stamp 2017-02-18 00:01:03 -05:00
Brad King f3e8a89a9b Merge topic 'install_name_policy'
1ba91291 Add policy CMP0068 separate install_name and RPATH settings on macOS
f7b9bf41 Apple: Add BUILD_WITH_INSTALL_NAME_DIR target property
4bff2d14 Apple: Refactor support for using INSTALL_NAME_DIR.
624fb9d7 Help: Format BUILD_WITH_INSTALL_RPATH documentation
2017-02-17 08:46:14 -05:00
Brad King 988c63527d Merge topic 'bison3'
761ea205 cmCommandArgumentParser: reformat grammar
1728b9c0 cmDependsJavaParser: Port to bison 3
fe75e140 cmCommandArgumentParser: Port to bison 3
2017-02-17 08:46:11 -05:00
Brad King 261b5785ad Merge topic 'capture-ctest_update-svn-failures'
f10b2f72 ctest_update: Capture failure of svn to load revisions and local mods
ef399f9b ctest_update: Refactor internal APIs to support more failure cases
2017-02-17 08:45:36 -05:00
Kitware Robot b6c9a851cb CMake Nightly Date Stamp 2017-02-17 00:01:02 -05:00
Daniel Pfeifer 761ea20518 cmCommandArgumentParser: reformat grammar 2017-02-16 21:34:27 +01:00
Daniel Pfeifer 1728b9c076 cmDependsJavaParser: Port to bison 3
Use %-directives to specify the scanner/lexer arguments and update the
yyerror signature.  Reduce the list of post-bison modifications needed.
2017-02-16 21:26:36 +01:00
Daniel Pfeifer fe75e140d6 cmCommandArgumentParser: Port to bison 3
Use %-directives to specify the scanner/lexer arguments and update the
yyerror signature.  Reduce the list of post-bison modifications needed.
2017-02-16 21:18:15 +01:00
Brad King f10b2f72f6 ctest_update: Capture failure of svn to load revisions and local mods
Issue: #16646
2017-02-16 13:19:26 -05:00
Brad King ef399f9bc6 ctest_update: Refactor internal APIs to support more failure cases
Thread failure of VC tool commands through more APIs so that we can
detect when they fail.  Defer updating of the individual VC tool usage
the future and just return true from them for now.
2017-02-16 13:19:26 -05:00
Brad King bb4730dc5a Merge topic 'vs-refactor-unknown-flags'
109b8a6f VS: Refactor AdditionalOptions generation
bd5ea699 cmVisualStudioGeneratorOptions: Add PrependInerhitedString method
3936a288 cmIDEOptions: Add SpaceAppendable flag table type
2017-02-16 13:15:52 -05:00
Brad King 160083b04d Merge topic 'vs-refactor-toolset-parsing'
f773933f VS: Refactor generator toolset parsing
d9e2b9a9 Tests: Split out RunCMake.GeneratorToolset Xcode checks
2017-02-16 13:15:49 -05:00
Brad King 60b5616af7 Merge topic 'command-cleanup-fix'
20ae76b1 cmDisallowedCommand: Forward final pass too
2017-02-16 13:15:44 -05:00
Brad King aa18d5befe Merge topic 'fix-ctest_update-svn'
51849bba ctest_update: Fix svn log and external loading
2017-02-16 13:15:42 -05:00
Brad King 5d5be3bd96 Merge topic 'autogen_fix_3.8'
28ee3784 Autogen: Fix headers not skipped
2017-02-16 13:15:38 -05:00
Kitware Robot b9229944cf CMake Nightly Date Stamp 2017-02-16 00:01:10 -05:00
Sebastian Holtermann 28ee378405 Autogen: Fix headers not skipped 2017-02-15 21:00:39 +01:00
Brad King 51849bbab8 ctest_update: Fix svn log and external loading
Since commit v3.7.0-rc1~132^2 (CTestSVN: Fix segfault when
CTEST_UPDATE_VERSION_ONLY is enabled, 2016-09-12) we do not properly
extract svn log or externals.  After updating we erase the information
that was loaded before updating and can no longer log the changes
between revisions to extract authors.

Fix this by only loading the repository information once, whether needed
by `NoteOldRevision`, `NoteNewRevision`, or both.

Fixes: #12630, #16646
2017-02-15 14:44:37 -05:00
Brad King 109b8a6fd3 VS: Refactor AdditionalOptions generation
Store unknown flags directly in a flag map entry for `AdditionalOptions`
instead of having a separate member for them.  This avoids duplicating
the output generation logic for the entry.
2017-02-15 10:41:36 -05:00
Brad King bd5ea6993c cmVisualStudioGeneratorOptions: Add PrependInerhitedString method 2017-02-15 10:37:35 -05:00
Brad King 3936a2886e cmIDEOptions: Add SpaceAppendable flag table type 2017-02-15 10:36:09 -05:00
Brad King 20ae76b1da cmDisallowedCommand: Forward final pass too
Refactoring in commit 7fb14775 (cmDisallowedCommand: extract policy
checking from cmCommand, 2016-12-26) introduced a wrapper for
disallowed commands that forwards to their original commands.
This broke the `export_library_dependencies` command that uses
a final pass.  Forward the final pass too to fix it.
2017-02-15 09:22:22 -05:00
Brad King 8ff8766232 Merge topic 'vs-refactor-libs'
8ba6dc36 VS: Place CMAKE_<LANG>_STANDARD_LIBRARIES after other libraries
1d04d2ce VS: Refactor parsing of CMAKE_<LANG>_STANDARD_LIBRARIES
2017-02-15 08:24:13 -05:00
Brad King 6a5e5a9268 Merge topic 'vs-dedup-tag'
f7e5c682 VS: De-duplicate PreprocessorDefinitions tag name
2017-02-15 08:24:10 -05:00
Brad King 75040fc103 Merge topic 'update-kwsys'
ff843dbd Merge branch 'upstream-KWSys' into update-kwsys
ced3396d KWSys 2017-02-14 (5c6f7836)
2017-02-15 08:24:00 -05:00
Brad King f773933f26 VS: Refactor generator toolset parsing
We parse `CMAKE_GENERATOR_TOOLSET` values of the forms:

* `toolset`
* `toolset,host=x64`
* `host=x64`

Generalize the parsing to support the forms:

* `toolset`
* `toolset[,key=value]*`
* `key=value[,key=value]*`

Disallow duplicate keys.  Require all but the first field to
be of `key=value` form.
2017-02-15 08:15:37 -05:00
Kitware Robot 8b155a6c09 CMake Nightly Date Stamp 2017-02-15 00:01:04 -05:00