summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'iwyu'Brad King2017-02-2035-1001/+979
|\ | | | | | | | | | | | | | | | | | | | | d58d28a9 ParserHelper: Move macros to bottom of files 07953c18 remove file cmStandardIncludes.h f918b053 cmFortranParser: include what you use b74314c6 cmDependsJavaParser: include what you use 74404df4 cmCommandArgumentParser: include what you use e7168c08 cmExprParser: include what you use ee72803e fix some include-what-you-use diagnostics
| * ParserHelper: Move macros to bottom of filesDaniel Pfeifer2017-02-203-36/+22
| | | | | | | | | | | | | | | | Since the class name is used in the macros, the iwyu tool gets confused wheter it needs a forward declaration or not. While editing the files, make sure structs have no typedef. Also, remove confusing comments about Java.
| * remove file cmStandardIncludes.hDaniel Pfeifer2017-02-202-54/+3
| |
| * cmFortranParser: include what you useDaniel Pfeifer2017-02-203-64/+72
| |
| * cmDependsJavaParser: include what you useDaniel Pfeifer2017-02-172-716/+728
| |
| * cmCommandArgumentParser: include what you useDaniel Pfeifer2017-02-172-55/+59
| |
| * cmExprParser: include what you useDaniel Pfeifer2017-02-172-55/+61
| |
| * fix some include-what-you-use diagnosticsDaniel Pfeifer2017-02-1721-21/+34
| |
* | Merge topic 'productbuild_component_plist'Brad King2017-02-203-0/+13
|\ \ | | | | | | | | | | | | d32f9deb CPack: Add option to specify --component-plist for productbuild
| * | CPack: Add option to specify --component-plist for productbuildTim Hutt2017-02-173-0/+13
| | | | | | | | | | | | | | | | | | | | | When using the productbuild generator this lets you specify the value of the `--component-plist` parameter when it runs pkgbuild for a component. Fixes: #16638
* | | Merge topic 'productbuild_resources'Brad King2017-02-201-2/+15
|\ \ \ | | | | | | | | | | | | | | | | 734581f4 CPack: Add support for CPACK_PRODUCTBULID_RESOURCES_DIR
| * | | CPack: Add support for CPACK_PRODUCTBULID_RESOURCES_DIRTim Hutt2017-02-171-2/+15
| |/ / | | | | | | | | | | | | | | | | | | This allows you to copy custom files (e.g. a background image) into the macOS installer. Fixes: #16604
* | | Merge topic 'fix-CMAKE_ROOT-case'Brad King2017-02-201-2/+2
|\ \ \ | | | | | | | | | | | | | | | | 3287ba02 Make CMAKE_ROOT independent of case of path used to invoke cmake
| * | | Make CMAKE_ROOT independent of case of path used to invoke cmakeBrad King2017-02-171-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We compute the location of `CMAKE_ROOT` and other resources relative to the location of our own executable. On some platforms this path is computed in a way that depends on the case of the path used to invoke the executable. Convert the result to the actual case preserved by the filesystem on disk in order to make it consistent regardless of how the executable is launched. This approach generalizes the fix made by commit v3.8.0-rc1~71^2 (cmSystemTools: use the actual case for root detection, 2017-01-18). Issue: #16648
* | | Merge topic 'fix-CMP0017-path-case'Brad King2017-02-201-1/+1
|\ \ \ | | | | | | | | | | | | | | | | e2d78f75 Windows: Fix inconsistent behavior on changes to case of path to cmake
| * | | Windows: Fix inconsistent behavior on changes to case of path to cmakeBrad King2017-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.4.0-rc1~333^2 (Merge branch 'upstream-kwsys' into update-kwsys, 2015-07-15) we brought in upstream KWSys commit 86a24794 (SystemTools: Fix GetActualCaseForPath drive letter case handling, 2015-07-09). This caused our path processing to convert drive letters to upper-case and exposed an existing bug in our implementation of CMP0017. Policy CMP0017 is responsible for ensuring that modules included from a builtin module only load other builtin modules and cannot be overridden by a file in `CMAKE_MODULE_PATH`. If there is a case difference in the drive letter (or other path components) then the path to the including module may not match our builtin module directory in a simple string comparison. This means builtin modules may not be recognized as such, and they may not reliably include their builtin dependencies. For example, if a project provides a `Platform/Windows` module in `CMAKE_MODULE_PATH` it can break inclusion of our builtin `Platform/Windows` module, leading to strange behavior. Fix this by comparing the path to the including module to our builtin module directory using a function that is aware of case-insensitivity of paths on Windows. Fixes: #16648, #16622
* | | | CMake Nightly Date StampKitware Robot2017-02-201-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-02-191-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-02-181-1/+1
| |/ / |/| |
* | | Merge topic 'install_name_policy'Brad King2017-02-176-22/+111
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Add policy CMP0068 separate install_name and RPATH settings on macOSClinton Stimpson2017-02-144-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD_WITH_INSTALL_RPATH, SKIP_BUILD_RPATH, CMAKE_SKIP_RPATH and CMAKE_SKIP_INSTALL_RPATH no longer any effect on the install name of a target on macOS. Fixes: #16589
| * | | Apple: Add BUILD_WITH_INSTALL_NAME_DIR target propertyClinton Stimpson2017-02-142-0/+7
| | | | | | | | | | | | | | | | | | | | This new property controls whether to apply INSTALL_NAME_DIR to the build tree. It also overrides BUILD_WITH_INSTALL_RPATH.
| * | | Apple: Refactor support for using INSTALL_NAME_DIR.Clinton Stimpson2017-02-142-20/+49
| | | |
* | | | Merge topic 'bison3'Brad King2017-02-176-2788/+3072
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 761ea205 cmCommandArgumentParser: reformat grammar 1728b9c0 cmDependsJavaParser: Port to bison 3 fe75e140 cmCommandArgumentParser: Port to bison 3
| * | | | cmCommandArgumentParser: reformat grammarDaniel Pfeifer2017-02-162-197/+156
| | | | |
| * | | | cmDependsJavaParser: Port to bison 3Daniel Pfeifer2017-02-163-1919/+2335
| | | | | | | | | | | | | | | | | | | | | | | | | Use %-directives to specify the scanner/lexer arguments and update the yyerror signature. Reduce the list of post-bison modifications needed.
| * | | | cmCommandArgumentParser: Port to bison 3Daniel Pfeifer2017-02-163-731/+640
| | | | | | | | | | | | | | | | | | | | | | | | | Use %-directives to specify the scanner/lexer arguments and update the yyerror signature. Reduce the list of post-bison modifications needed.
* | | | | Merge topic 'capture-ctest_update-svn-failures'Brad King2017-02-1715-67/+95
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f10b2f72 ctest_update: Capture failure of svn to load revisions and local mods ef399f9b ctest_update: Refactor internal APIs to support more failure cases
| * | | | | ctest_update: Capture failure of svn to load revisions and local modsBrad King2017-02-162-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #16646
| * | | | | ctest_update: Refactor internal APIs to support more failure casesBrad King2017-02-1615-57/+80
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | CMake Nightly Date StampKitware Robot2017-02-171-1/+1
|/ / / /
* | | | Merge topic 'vs-refactor-unknown-flags'Brad King2017-02-167-41/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 109b8a6f VS: Refactor AdditionalOptions generation bd5ea699 cmVisualStudioGeneratorOptions: Add PrependInerhitedString method 3936a288 cmIDEOptions: Add SpaceAppendable flag table type
| * | | | VS: Refactor AdditionalOptions generationBrad King2017-02-155-41/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | cmVisualStudioGeneratorOptions: Add PrependInerhitedString methodBrad King2017-02-152-0/+13
| | | | |
| * | | | cmIDEOptions: Add SpaceAppendable flag table typeBrad King2017-02-153-0/+22
| | | | |
* | | | | Merge topic 'vs-refactor-toolset-parsing'Brad King2017-02-164-26/+82
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f773933f VS: Refactor generator toolset parsing d9e2b9a9 Tests: Split out RunCMake.GeneratorToolset Xcode checks
| * | | | | VS: Refactor generator toolset parsingBrad King2017-02-154-26/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Merge topic 'command-cleanup-fix'Brad King2017-02-161-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20ae76b1 cmDisallowedCommand: Forward final pass too
| * | | | | | cmDisallowedCommand: Forward final pass tooBrad King2017-02-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge topic 'fix-ctest_update-svn'Brad King2017-02-161-1/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 51849bba ctest_update: Fix svn log and external loading
| * | | | | | | ctest_update: Fix svn log and external loadingBrad King2017-02-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | Merge branch 'case-insensitive-bindir-detection' into releaseBrad King2017-01-201-1/+2
| |\ \ \ \ \ \ \
| * | | | | | | | CMake 3.7.2v3.7.2Brad King2017-01-131-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'autogen_fix_3.8'Brad King2017-02-161-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28ee3784 Autogen: Fix headers not skipped
| * | | | | | | | | Autogen: Fix headers not skippedSebastian Holtermann2017-02-151-2/+2
| | |_|_|_|_|_|/ / | |/| | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2017-02-161-1/+1
| |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | Merge topic 'vs-refactor-libs'Brad King2017-02-151-20/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ba6dc36 VS: Place CMAKE_<LANG>_STANDARD_LIBRARIES after other libraries 1d04d2ce VS: Refactor parsing of CMAKE_<LANG>_STANDARD_LIBRARIES
| * | | | | | | | VS: Place CMAKE_<LANG>_STANDARD_LIBRARIES after other librariesBrad King2017-02-141-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the VS generator consistent with the Ninja and Makefile generators that place the libraries listed in this variable after other libraries on the link command line. These system libraries never depend on the project libraries.
| * | | | | | | | VS: Refactor parsing of CMAKE_<LANG>_STANDARD_LIBRARIESBrad King2017-02-141-14/+2
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse the value as a command line string just as the MS CRT would. This makes the VS generator behavior consistent with how the string is used by the Ninja and Makefile generators.
* | | | | | | | Merge topic 'vs-dedup-tag'Brad King2017-02-151-5/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7e5c682 VS: De-duplicate PreprocessorDefinitions tag name