summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'string-clear-intermediate-matches'Brad King2017-07-214-0/+35
|\ | | | | | | | | | | | | b7941641 cmStringCommand: clear intermediate matches Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1065
| * cmStringCommand: clear intermediate matchesBen Boeckel2017-07-214-0/+35
| | | | | | | | | | | | | | | | | | | | | | When `string(REGEX REPLACE)` or `string(REGEX MATCHALL)` loop internally, they store their matches, but they do not clear the previous match from an earlier iteration. This can leave the contents of `CMAKE_MATCH_<N>` with bogus values for later matches in the string if they have groups which earlier matched a non-empty string, but now match an empty string. Fixes #17079.
* | Merge topic 'cpack-dmg-applescript-argv'Brad King2017-07-211-1/+3
|\ \ | | | | | | | | | | | | | | | | | | 351c1b1a CPack: Pass volume mount name to AppleScript instead of volume name. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1069
| * | CPack: Pass volume mount name to AppleScript instead of volume name.Gusts Kaksis2017-07-201-1/+3
| | | | | | | | | | | | | | | | | | Get the mount name from mount point path returned by hdiutil instead of assuming it is the volume name. They can be different in case of conflict with an already-mounted volume.
* | | Merge topic 'cpack-stgz-help'Brad King2017-07-211-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 29a5cf7c CPack: Add missing options to installer shell script help Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1068
| * | | CPack: Add missing options to installer shell script helpFrancois Budin2017-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | `--version` and `--skip-license` were not in the list of available options when running script with `--help` option.
* | | | Merge topic 'add_test_processors_prop_to_cdash'Brad King2017-07-211-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 614921b4 Add the test property PROCESSORS to the CDash xml as a NamedMeasurement. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1066
| * | | | Add the test property PROCESSORS to the CDash xml as a NamedMeasurement.Bill Hoffman2017-07-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit forwards the test property PROCESSORS to CDash in the xml produced by ctest. This is to allow CDash to know how much processor time was allocated to a test.
* | | | | Merge topic 'docsExternalProject'Brad King2017-07-214-380/+827
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8842a027 ExternalProject: Improve documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1037
| * | | | | ExternalProject: Improve documentationCraig Scott2017-07-174-380/+827
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added clearer structure by grouping the options into logical sections. - Expanded the details for many of the options. - Added Examples section to show how to use the various commands. - Specifically highlighted that the contents of SOURCE_DIR may be lost if a download method is also provided. - Updated argument-matching regex to be more robust and account for the varying leading spaces before keywords in the docs. - Updated tests to account for slightly changed error messages.
* | | | | | CMake Nightly Date StampKitware Robot2017-07-211-1/+1
| | | | | |
* | | | | | Merge topic 'autogen-generated-files'Brad King2017-07-2018-25/+198
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dca5df16 Autogen: Process GENERATED files. Add CMP0071. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1061
| * | | | | | Autogen: Process GENERATED files. Add CMP0071.Sebastian Holtermann2017-07-1818-25/+198
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets AUTOMOC and AUTOUIC process GENERATED files which used to be ignored before. A new policy CMP0071 ensures that the old behavior of ignoring GENERATED files is enabled when the CMake compatibility version CMAKE_MINIMUM_REQUIRED is < 3.10. Closes #16186
* | | | | | Merge topic 'vs-lang-std'Brad King2017-07-203-13/+42
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 131c721f MSVC: Add flags for C++ language standards Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1063
| * | | | | MSVC: Add flags for C++ language standardsBrad King2017-07-173-13/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 2015 Update 3 introduced the notion of language standard levels to MSVC. The language standard level is defined in `_MSVC_LANG` instead of `__cplusplus`. It also added support for the `-std:c++14` and `-std:c++latest` flags, although the compiler defaults to its C++14 mode anyway. Visual Studio 2017 Update 3 will introduce support for the `-std:c++17` flag. Fixes: #16482
* | | | | | CMake Nightly Date StampKitware Robot2017-07-201-1/+1
| |_|_|_|/ |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2017-07-191-1/+1
| | | | |
* | | | | Merge branch 'release-3.9'Brad King2017-07-180-0/+0
|\ \ \ \ \
| * | | | | CMake 3.9.0v3.9.0Brad King2017-07-181-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.9'Brad King2017-07-180-0/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch 'objlib-own-target-objs' into release-3.9Brad King2017-07-176-0/+25
| |\ \ \ \ \
* | \ \ \ \ \ Merge topic 'server-refactor'Brad King2017-07-1815-437/+796
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf0ae55d server: Add support for connections that aren't event based 5ddfb6a4 server: Add connection as part of a request d4f5d35c server: Refactor to make the event loop owned by server object 5acbf08b Tests: Teach Server test to forward exit code from server process Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !552
| * | | | | | | server: Add support for connections that aren't event basedJustin Berger2017-07-117-66/+87
| | | | | | | |
| * | | | | | | server: Add connection as part of a requestJustin Berger2017-07-113-6/+11
| | | | | | | |
| * | | | | | | server: Refactor to make the event loop owned by server objectJustin Berger2017-07-1112-430/+763
| | | | | | | |
| * | | | | | | Tests: Teach Server test to forward exit code from server processJustin Berger2017-06-081-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'cmake-E-sha'Brad King2017-07-1848-40/+175
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4de0a25 Add sha1sum, sha224sum, sha256sum, sha384sum and sha512sum to command mode c4647d84 Change ComputeFileMD5 to ComputeFileHash 501a4fee Add some unit tests for md5sum Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1021
| * | | | | | | | Add sha1sum, sha224sum, sha256sum, sha384sum and sha512sum to command modeAndré Klitzing2017-07-1435-22/+139
| | | | | | | | |
| * | | | | | | | Change ComputeFileMD5 to ComputeFileHashAndré Klitzing2017-07-145-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use a parameter to select hash algorithm * Return a std::string as result or an empty string if it fails * Avoids unnecessary copy of hash value
| * | | | | | | | Add some unit tests for md5sumAndré Klitzing2017-07-0910-0/+17
| | | | | | | | |
* | | | | | | | | Merge topic 'GHS_int_detection'Brad King2017-07-181-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8eb1cb3f GHS: Correct the regex for the intXXXX directory detection. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1062
| * | | | | | | | | GHS: Correct the regex for the intXXXX directory detection.Roman Wüger2017-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The int directory does not only need to contain digits. E.g. C:\GHS\int409a is a valid Green Hills installation
* | | | | | | | | | Merge topic 'objlib-own-target-objs'Brad King2017-07-186-0/+25
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / | |/| | | | | / / / | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | d89e10cd Diagnose object library self-reference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1053
| * | | | | | | | Diagnose object library self-referenceBrad King2017-07-146-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code add_library(A OBJECT a.c) target_sources(A PRIVATE $<TARGET_OBJECTS:A>) used to crash CMake via infinite recursion while evaluating the generator expression. Then the change in commit v3.9.0-rc1~266^2~1 (cmGeneratorTarget: Replace source classifier implementation, 2017-04-07) avoided the infinite recursion because GetKindedSources now creates a map entry and initializes it once. If it is called again on the same target during that initialization, the partially computed results are returned. This is still wrong but does not crash. Detect and diagnose this case instead. Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Fixes: #16578
* | | | | | | | | CMake Nightly Date StampKitware Robot2017-07-181-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Merge branch 'release-3.9'Brad King2017-07-170-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | |
| * | | | | | | Merge branch 'doc-vs2015-update-relnote' into release-3.9Brad King2017-07-141-0/+5
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'xcode9support' into release-3.9Brad King2017-07-142-0/+13
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'backport-fix-lang-std-option-list' into release-3.9Brad King2017-07-141-2/+10
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'TestDriver-fix-Wconversion' into release-3.9Brad King2017-07-141-2/+2
| |\ \ \ \ \ \ \ \ \ \
* | \ \ \ \ \ \ \ \ \ \ Merge topic 'doc-vs2015-update-relnote'Brad King2017-07-171-0/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfa9a2bd Help: Add a 3.9 release note about the VS GenerateDebugInformation update Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1060
| * | | | | | | | | | | Help: Add a 3.9 release note about the VS GenerateDebugInformation updateBrad King2017-07-141-0/+5
| | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a release note corresponding to the environmental regression fixed by commit v3.9.0-rc6~15^2~1 (VS: Fix GenerateDebugInformation values for v140 and v141 toolsets, 2017-06-27).
* | | | | | | | | | | Merge topic 'TestDriver-fix-Wconversion'Brad King2017-07-171-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 221ffabf TestDriver: Fix -Wconversion warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1058
| * | | | | | | | | | TestDriver: Fix -Wconversion warningBrad King2017-07-141-2/+2
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.8.0-rc1~51^2~1 (TestDriver: calc NumTests at compile time, 2017-01-24) we convert an expression that uses `sizeof()` to an `int` as a compile-time constant. Some GCC versions warn about this with `-Wconversion`. Add a cast to avoid the warning.
* | | | | | | | | | Merge topic 'xcode9support'Brad King2017-07-172-0/+13
|\ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0348383b Xcode: Add "outputPaths" to custom command script build phase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1054
| * | | | | | | | | Xcode: Add "outputPaths" to custom command script build phaseHarry Mallon2017-07-142-0/+13
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for Xcode 9's "New Build System", whose release notes mention "that output must be declared as an explicit output by the script which generates it" in reference to outputs of custom script build phases.
* | | | | | | | | Merge topic 'fix-lang-std-option-list'Brad King2017-07-171-5/+22
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cef77f06 Allow language extensions without any standard to use a list of options 74e33711 Merge branch 'backport-fix-lang-std-option-list' into fix-lang-std-option-list fca05461 cmLocalGenerator: Explain standard flag selection logic in comments 218ce158 Features: Fix support for a list of language standard options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1059
| * | | | | | | | Allow language extensions without any standard to use a list of optionsBrad King2017-07-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the logic added by commit a2112257 (Add infrastructure to use language extensions without any standard, 2017-06-29) to support a list of options as has been done since commit v3.9.0-rc1~174^2~2 (CompileFeatures: Let STD compile options be a list, 2016-10-05).
| * | | | | | | | Merge branch 'backport-fix-lang-std-option-list' into fix-lang-std-option-listBrad King2017-07-141-2/+10
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | |
| | * | | | | | | Features: Fix support for a list of language standard optionsBrad King2017-07-141-2/+10
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.9.0-rc1~174^2~2 (CompileFeatures: Let STD compile options be a list, 2016-10-05) did not change all the places we add the language standard options. Expand the list in the other places.