summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-ctest-chrono'Brad King2017-12-1210-89/+42
|\ | | | | | | | | | | | | | | | | | | | | | | ba6caafa CTest: Use integer-representable value for "infinite" timeout 548e8f6f CTest: Simplify std::chrono::duration<double> conversion to double de0035fd cmCTestBuildAndTestHandler: Convert timeout to std::chrono::duration 687a26b7 CTest: Fix regression in build-and-test timeout forwarding e770b1b8 CTest: Fix regression in build-and-test timeout compuatation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: dublet <github@dublet.org> Merge-request: !1574
| * CTest: Use integer-representable value for "infinite" timeoutBrad King2017-12-114-25/+15
| | | | | | | | | | | | | | | | Refactoring in commit 66419bc046 (CTest: convert timeouts to std::chrono::duration, 2017-11-20) changed out "infinite" timeout to a value not representable by a 64-bit integer. This causes undefined behavior when e.g. KWSys Process converts the duration to a `long` to interact with system APIs. Use the old `1.0e7` maximum value.
| * CTest: Simplify std::chrono::duration<double> conversion to doubleBrad King2017-12-086-52/+13
| | | | | | | | | | | | | | | | | | The ratio of ticks to seconds for this type is 1, so we can just use its `count()` directly. This also avoids converting through the integer representation of `std::chrono::milliseconds`, which has a much smaller allowed range. Drop our `cmsysProcess_SetTimeout` wrapper as it is now very thin.
| * cmCTestBuildAndTestHandler: Convert timeout to std::chrono::durationBrad King2017-12-082-11/+11
| |
| * CTest: Fix regression in build-and-test timeout forwardingBrad King2017-12-081-0/+1
| | | | | | | | | | | | | | | | Refactoring in commit 66419bc046 (CTest: convert timeouts to std::chrono::duration, 2017-11-20) changed out "infinite" timeout to a value not representable by a 64-bit integer. Update the `--build-and-test` forwarding of `--test-timeout` to not forward an "infinite" timeout.
| * CTest: Fix regression in build-and-test timeout compuatationBrad King2017-12-081-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 66419bc046 (CTest: convert timeouts to std::chrono::duration, 2017-11-20) accidentally changed the logic used to compute the timeout for a test when it starts. It incorrectly limits the maximum possible timeout to 2 minutes rather than 2 minutes less than the total allowed test time remaining. Update the new logic to restore the original behavior. Avoid subtracting 2 minutes from our "infinite" timeout value to avoid creating very large timeouts that are not "infinite" and may exceed integer type ranges.
* | CMake Nightly Date StampKitware Robot2017-12-121-1/+1
| |
* | Merge topic 'cpack-generator-scripts-enable-all-cmake-policies'Brad King2017-12-111-4/+11
|\ \ | | | | | | | | | | | | | | | | | | 93d5f464 CPack: enable all CMake policies for generator scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1582
| * | CPack: enable all CMake policies for generator scriptsDomen Vrankar2017-12-091-4/+11
| | |
* | | Merge topic 'ctest-remove-unfinished-batch-mode'Brad King2017-12-117-170/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f984296b CTest: Remove unfinished batch test mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1577
| * | | CTest: Remove unfinished batch test modeBrad King2017-12-087-170/+1
| | | | | | | | | | | | | | | | | | | | This was partially implemented by commit v2.8.0~154 (Added some ctest batch capabilities, 2009-09-10) but never finished.
* | | | Merge topic 'update-kwsys'Brad King2017-12-111-4/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9dee52ba Merge branch 'upstream-KWSys' into update-kwsys 3b1bb703 KWSys 2017-12-08 (2d27b1d0) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1576
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-12-081-4/+8
| |/ / / | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-12-08 (2d27b1d0)
* | | | CMake Nightly Date StampKitware Robot2017-12-111-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-12-101-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2017-12-091-1/+1
|/ /
* | Merge topic 'autogen-fix-library-deps'Brad King2017-12-081-23/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bc60334 Merge branch 'automoc-apple-framework' into autogen-fix-library-deps a3f8371c Merge branch 'automoc-apple-framework' into autogen-fix-library-deps bd49ae51 Autogen: Fix library dependency forwarding to _autogen target e4ccc684 Autogen: Tests: Add test for MacOS frameworks fcbd02fd Autogen: Fix for AUTOMOC on macOS frameworks in CMake 3.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1566
| * | Autogen: Fix library dependency forwarding to _autogen targetSebastian Holtermann2017-12-071-23/+22
| | | | | | | | | | | | | | | | | | | | | | | | Library dependencies of the origin target were forwarded to the _autogen target as source file dependencies. This is fixed by forwarding the dependencies as target dependencies instead. Issue: #17278
* | | Merge topic 'update-kwsys'Brad King2017-12-083-9/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c50f08cd Merge branch 'upstream-KWSys' into update-kwsys 5b1c84b4 KWSys 2017-12-07 (4aee0036) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1567
| * | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-12-073-9/+8
| |/ / | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-12-07 (4aee0036)
* | | CMake Nightly Date StampKitware Robot2017-12-081-1/+1
| | |
* | | Merge topic 'fix-ctest-chrono'Brad King2017-12-071-3/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | be470278 CTest: Fix regression in test timeout compuatation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: dublet <github@dublet.org> Merge-request: !1568
| * | CTest: Fix regression in test timeout compuatationBrad King2017-12-071-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 66419bc046 (CTest: convert timeouts to std::chrono::duration, 2017-11-20) accidentally changed the logic used to compute the timeout for a test when it starts. It incorrectly limits the maximum possible timeout to 2 minutes rather than 2 minutes less than the total allowed test time remaining. Update the new logic to restore the original behavior. Avoid subtracting 2 minutes from our "infinite" timeout value to avoid creating very large timeouts that are not "infinite" and may exceed integer type ranges.
* | | Merge topic 'splitRCPatchComponent'Brad King2017-12-072-4/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f92304c7 CMakeVersion RC file: Split patch into 2 components Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1552
| * | | CMakeVersion RC file: Split patch into 2 componentsJustin Goshi2017-12-042-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | The binary file version has 4 16-bit components. In cases where the patch component is too large (ex: represents a build date yyyymmdd) we split it into two parts.
* | | | Merge topic 'revert-server-target-backtraces'Brad King2017-12-072-56/+0
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | b7100756 Merge branch 'backport-revert-server-target-backtraces' into revert-server-target-backtraces 976370d1 server: drop "ctestInfo" backtrace information 8b2736c7 server: Revert "Report backtraces in codemodel response" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1564
| * | | Merge branch 'backport-revert-server-target-backtraces' into ↵Brad King2017-12-062-53/+0
| |\ \ \ | | | | | | | | | | | | | | | revert-server-target-backtraces
| | * | | server: Revert "Report backtraces in codemodel response"Brad King2017-12-062-54/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The backtrace information is very repetitive and hugely increases the size of the codemodel object. We need to remove it until an alternative representation can be developed. Revert commit v3.10.0-rc1~393^2 (server: Report backtraces in codemodel response, 2017-06-20), except for the protocol version number (because it indicates other new things). Unfortunately this is incompatible with clients that expect the "crossReferences" field in targets. However, the regression in memory usage is quite serious, especially on large projects, and therefore breaks even older clients that do not use backtraces. Since the "crossReferences" field was only provided by one release (3.10.0), it is simplest to revert it outright for 3.10.1. Fixes: #17502
| * | | | server: drop "ctestInfo" backtrace informationBrad King2017-12-061-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backtrace information was included by commit 35a52bd1b4 (server: add "ctestInfo" request to get test info, 2017-10-25) to match that already provided for targets. However, the backtrace representation uses too much memory and needs to be dropped. Remove it from test information. Issue: #17502
* | | | | CMake Nightly Date StampKitware Robot2017-12-071-1/+1
|/ / / /
* | | | Merge topic 'src-COMPILE_DEFINITIONS-genex'Brad King2017-12-067-25/+55
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9432f686 Add generator expression support to per-source COMPILE_DEFINITIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1546
| * | | | Add generator expression support to per-source COMPILE_DEFINITIONSMarc Chevrier2017-12-057-25/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows users to specify different genex-based compile definitions for each file in a target. Fixes: #17508
* | | | | Merge topic 'update-kwsys'Brad King2017-12-063-146/+274
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79b241de cmake-gui: Update RegexExplorer for changes to KWSys 4a8bbc52 Merge branch 'upstream-KWSys' into update-kwsys 52a5c4a8 KWSys 2017-12-05 (9376537e) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1558
| * | | | | cmake-gui: Update RegexExplorer for changes to KWSysBrad King2017-12-051-2/+2
| | | | | |
| * | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-12-052-144/+272
| |/ / / / | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-12-05 (9376537e)
* | | | | CMake Nightly Date StampHEADmasterKitware Robot2017-12-061-1/+1
|/ / / /
* | | | Merge topic 'update-cm-thread'Brad King2017-12-053-48/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3519c8f2 utilities: Swapped to use std C++11 mutex/threading constructs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1551
| * | | | utilities: Swapped to use std C++11 mutex/threading constructsJustin Berger2017-12-013-48/+9
| | |/ / | |/| |
* | | | Merge topic 'include_external_ms_project_support_non_windows_target'Brad King2017-12-053-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c06e9e7 include_external_msproject: Support non-Windows target platforms c89e8522 cmGlobalGenerator: Add IsIncludeExternalMSProjectSupported method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1525
| * | | | include_external_msproject: Support non-Windows target platformsTomoki Imai2017-12-041-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the command on any generator that supports it, even if the target platform does not define `WIN32`. Fixes: #17511
| * | | | cmGlobalGenerator: Add IsIncludeExternalMSProjectSupported methodTomoki Imai2017-12-042-0/+6
| | | | |
* | | | | Merge topic 'src-genex-refactoring'Brad King2017-12-058-50/+114
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6bffc13e Refactor per-source generator expression evaluation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1550
| * | | | | Refactor per-source generator expression evaluationMarc Chevrier2017-12-048-50/+114
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Prepare to add generator expression support to more source properties. Factor out some duplicated code into a helper to avoid further duplication.
* | | | | Merge topic 'update-cpplint'Brad King2017-12-051-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfcc2034 Update cpplint support to return 0 and mark warnings for CDash. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1544
| * | | | | Update cpplint support to return 0 and mark warnings for CDash.Bill Hoffman2017-12-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes cpplint act like the other compiler mirroring tools. It will always return 0 even if it reports warnings and will only return non zero if there is a problem running the command. In addition, it will now add some extra text to allow CTest to recognize the warnings and report them correctly to CDash.
* | | | | | Merge topic 'win-fallthrough'Brad King2017-12-052-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 21541bb5 Use CM_FALLTHROUGH in Windows-specific code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1555
| * | | | | | Use CM_FALLTHROUGH in Windows-specific codeBrad King2017-12-042-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some cases were missed by earlier sweeps due to not compiling Windows-specific code.
* | | | | | | Merge topic 'ctest-chrono'Brad King2017-12-0517-134/+240
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66419bc0 CTest: convert timeouts to std::chrono::duration 923b8fad IWYU: Add mappings for std::enable_if on chrono durations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1513
| * | | | | | CTest: convert timeouts to std::chrono::durationWouter Klouwen2017-12-0415-126/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit continues the refactoring of CTest to adopt std::chrono. After the last sets of changes that introduced std::chrono::steady_clock and std::chrono::system_clock respectively, it makes sense to have all the timeouts be stored as std::chrono::duration. No functional change intended.
| * | | | | | IWYU: Add mappings for std::enable_if on chrono durationsBrad King2017-11-288-8/+0
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IWYU incorrectly classifies this internal STL type as not internal, and suggests including `<type_traits>` for it. Work around the problem by mapping the offending names to a file that we always include. See include-what-you-use issue 434.