summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmCTestMultiProcessHandler: Add helper to make libuv use SA_RESTARTBrad King2018-01-101-0/+37
| | | | | | Prior to 1.19, libuv does not use SA_RESTART in its signal handler. Add a helper to cause libuv to install its handler and then revise the handler's flags to add SA_RESTART.
* cmCTestMultiProcessHandler: Fix StartNextTests loop on not-started testBrad King2018-01-082-19/+20
| | | | | | | | If `StartTestProcess` does not start a test, propagate this information back up to the `StartNextTests` loop so that it can move on to another candidate without allocating processors to a test that didn't run. Otherwise we have to wait for the next time `RunTests` loops around and calls `StartNextTests` again.
* cmCTestMultiProcessHandler: Check stop time more directlyBrad King2018-01-083-14/+14
| | | | | | | | Avoid creating a cmCTestRunTest instance if the stop time has been reached. If the stop time occurs in the small time between creating an instance and computing the child process timeout, we will simply compute a zero timeout. This is already done for the case that we StartAgain after the stop time.
* cmCTestRunTest: Subsume ResolveTimeout into only call siteBrad King2018-01-082-29/+18
|
* cmCTest: Refactor stop time calculationsBrad King2018-01-083-82/+42
| | | | | Calculate the stop time up front instead of re-parsing its string for every test.
* cmCTest: Remove unused member LastStopTimeoutBrad King2018-01-083-6/+1
| | | | | | | This member was added by commit v2.8.2~285 (Better detection of stop_time being passed, 2010-03-19), but its logic has no effect. The member is only used for comparison against a value to which it was just assigned.
* Merge topic 'execute_process_UTF8_keyword'Brad King2018-01-081-1/+1
|\ | | | | | | | | | | | | | | 8caec41e execute_process: Allow UTF-8 as a synonym for the UTF8 keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1623
| * execute_process: Allow UTF-8 as a synonym for the UTF8 keywordCraig Scott2017-12-271-1/+1
| | | | | | | | | | | | | | | | UTF-8 is the proper naming according to the UTF-8 RFC and is also the name used for a similar keyword in the file() command. This commit brings (backward compatible) consistency to the keyword names and allows the standard UTF-8 name to be used with execute_process(). The old UTF8 keyword is still supported.
* | Merge topic '17431-iphone-deployment-target'Brad King2018-01-088-22/+76
|\ \ | | | | | | | | | | | | | | | | | | | | | 4017bf40 Darwin: Emit deployment target that matches the SDK 8f4663ff Xcode: rename embedded SDK query function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1447
| * | Darwin: Emit deployment target that matches the SDKGregor Jasny2017-12-224-10/+61
| | | | | | | | | | | | Closes: #17431
| * | Xcode: rename embedded SDK query functionGregor Jasny2017-12-227-13/+16
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-081-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-071-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-061-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-051-1/+1
| | |
* | | Merge topic 'various-typos'Craig Scott2018-01-0422-27/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3ab7bf82 Various typo fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1626
| * | | Various typo fixesLuz Paz2018-01-0322-27/+27
| | | | | | | | | | | | | | | | Some are user-facing. Others are source comments.
* | | | CMake Nightly Date StampKitware Robot2018-01-041-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-01-031-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-01-021-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-01-011-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-12-311-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-12-301-1/+1
|/ / /
* | | CMake Nightly Date StampKitware Robot2017-12-291-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2017-12-281-1/+1
| |/ |/|
* | CMake Nightly Date StampKitware Robot2017-12-271-1/+1
| |
* | CMake Nightly Date StampKitware Robot2017-12-261-1/+1
| |
* | CMake Nightly Date StampKitware Robot2017-12-251-1/+1
| |
* | CMake Nightly Date StampKitware Robot2017-12-241-1/+1
| |
* | Merge topic 'self-c++17'Brad King2017-12-236-35/+80
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 31d59ff3 Compile CMake as C++17 if supported by the compiler 31c6b9ad Generalize check for C++14 constructs 05af537e cmGlobalNinjaGenerator: Avoid using deprecated std::ptr_fun Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1614
| * | Compile CMake as C++17 if supported by the compilerBrad King2017-12-222-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a check that a simple source file can compile as C++17 that uses some of the features we need. Do this only when hosted by CMake 3.8 or above because those versions are aware of C++17. Check for unordered_map as we do in bootstrap since commit 375eca7881 (bootstrap: Check support for unordered_map from compiler mode, 2017-11-30). Also maintain the existing C++14 cstdio check.
| * | Generalize check for C++14 constructsBrad King2017-12-223-33/+36
| | | | | | | | | | | | | | | | | | The check for C++14 and cstdio is a special case of the more general problem of checking that the compiler's C++14 mode supports everything we need. Rename the checks accordingly.
| * | cmGlobalNinjaGenerator: Avoid using deprecated std::ptr_funBrad King2017-12-211-2/+1
| | | | | | | | | | | | It was deprecated by C++11 and removed by C++17. Use a C++11 lambda.
* | | CMake Nightly Date StampKitware Robot2017-12-231-1/+1
| |/ |/|
* | CMake Nightly Date StampKitware Robot2017-12-221-1/+1
|/
* Merge topic 'cpackifw-package-remove-target-dir'Brad King2017-12-212-0/+17
|\ | | | | | | | | | | | | 739ae1d0 CPack/IFW: Add option to control deletion of the install directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1591
| * CPack/IFW: Add option to control deletion of the install directoryJean-Philippe Lebel2017-12-152-0/+17
| | | | | | | | | | | | Added support for QT IFW "RemoveTargetDir" boolean option. QTIFW supports an option to prevent, or not, deletion of the installation directory. This is a direct pass-through to that variable.
* | Merge topic 'use-override'Brad King2017-12-2113-129/+132
|\ \ | | | | | | | | | | | | | | | | | | cfe4e2db VS: Use 'override' keyword for overridden methods in generator classes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1601
| * | VS: Use 'override' keyword for overridden methods in generator classesVitaly Stakhovsky2017-12-1613-129/+132
| | | | | | | | | | | | The corresponding 'virtual' removed.
* | | Merge topic 'cmake_symlink_library-slashes'Brad King2017-12-211-3/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 099a4ea5 cmcmd: Fix cmake_symlink_library for inconsistent slashes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1612
| * | | cmcmd: Fix cmake_symlink_library for inconsistent slashesBrad King2017-12-201-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the Ninja generator we may invoke `cmake_symlink_library` with different slash conventions (`/` versus `\`) for different arguments. Fix comparison of the paths/names given to tolerate this. Fixes: #17579
* | | | Merge topic 'objlib-dedup'Brad King2017-12-211-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66c0b36d objlib: fix unchecked insertions in `cmGeneratorTarget::GetLanguages` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1609
| * | | | objlib: fix unchecked insertions in `cmGeneratorTarget::GetLanguages`Pavel Solodovnikov2017-12-201-1/+6
| | | | |
* | | | | Merge topic 'solaris_warning_single'Brad King2017-12-211-13/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ef14467 Solaris: Fix shadowed declaration warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1611
| * | | | | Solaris: Fix shadowed declaration warningCraig Scott2017-12-201-13/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "single" is a type declared in /usr/include/floatingpoint.h on Solaris, so the local variable of the same name in cmParseArgumentsCommand.cxx was triggering a compiler warning about the local variable shadowing the type.
* | | | | CMake Nightly Date StampKitware Robot2017-12-211-1/+1
| |/ / / |/| | |
* | | | Merge topic 'autogen-nested-lists-fix'Brad King2017-12-202-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 493ad056 Merge branch 'backport-autogen-nested-lists-fix' into autogen-nested-lists-fix 683e9023 Autogen: Fix for problematic nested list separator 3ce7eece Autogen: Fix for problematic nested lists separator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1607
| * | | | Autogen: Fix for problematic nested lists separatorSebastian Holtermann2017-12-182-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the AutogenInfo.cmake file the separator for nested lists was `@LSEP@` which led to a speed regression because the `@` character triggered an (unsuccessful) expression evaluation. By setting the policy version of the CMake instance in the `_autogen` target to 3.9, the OLD `@` evaluating behavior controlled by policy CMP0053 is disabled. Also the nested lists separator string is changed to `<<<S>>>`, which solves the problem twofold. Closes #17570
* | | | | Merge topic 'update-kwsys'Brad King2017-12-201-0/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4966c8d8 Merge branch 'upstream-KWSys' into update-kwsys 86399e49 KWSys 2017-12-15 (8f755ee9) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1597
| * | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-12-151-0/+8
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-12-15 (8f755ee9)