Brad King
1138feb38f
cmCTest: Remove unused member LastStopTimeout
...
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.
2018-01-08 12:55:00 -05:00
Brad King
4ffb0f8b45
libuv: unix: restart syscalls interrupted by our signal handler
...
BSD `signal(2)` semantics make some system calls (e.g. for `write`)
restartable when interrupted by a signal handler. Use `SA_RESTART` to
enable these semantics everywhere that supports them.
This is required by C++ stream libraries that interpret `EINTR` as any
other error, set `badbit`, and stop writing. I've observed this with
`libstdc++` during a `std::cout.flush()` call interrupted by `SIGCHLD`.
2018-01-08 12:55:00 -05:00
Brad King
f7f34a46e6
Merge topic 'use_generator_is_multi_config'
...
3c413e2a GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Modules
c267ea1c GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1627
2018-01-08 11:14:16 -05:00
Brad King
f4a3143940
Merge topic 'execute_process_UTF8_keyword'
...
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
2018-01-08 10:44:47 -05:00
Brad King
a3bba2a5ad
Merge topic '17431-iphone-deployment-target'
...
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
2018-01-08 09:58:11 -05:00
Kitware Robot
2c089d80de
CMake Nightly Date Stamp
2018-01-08 00:01:04 -05:00
Kitware Robot
e0560c1111
CMake Nightly Date Stamp
2018-01-07 00:01:05 -05:00
Kitware Robot
0a87dbf568
CMake Nightly Date Stamp
2018-01-06 00:01:05 -05:00
Kitware Robot
91a1446d21
CMake Nightly Date Stamp
2018-01-05 00:01:37 -05:00
Craig Scott
d88451568d
Merge topic 'various-typos'
...
3ab7bf82 Various typo fixes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1626
2018-01-04 14:37:49 -05:00
Kitware Robot
bc7fd08f23
CMake Nightly Date Stamp
2018-01-04 00:01:26 -05:00
Craig Scott
1642eb7749
Merge topic 'doxygen_verbatim_vars'
...
1e6d1dd3 FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote prevention
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1624
2018-01-03 15:17:27 -05:00
Luz Paz
3ab7bf8285
Various typo fixes
...
Some are user-facing. Others are source comments.
2018-01-04 06:52:01 +11:00
Kitware Robot
64b624f118
CMake Nightly Date Stamp
2018-01-03 00:01:33 -05:00
Craig Scott
1e6d1dd358
FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote prevention
...
Each CMake variable listed in DOXYGEN_VERBATIM_VARS will not have any
automatic quoting applied to it when written to the Doxyfile.
2018-01-03 07:59:59 +11:00
Kitware Robot
011f2de484
CMake Nightly Date Stamp
2018-01-02 00:01:09 -05:00
Kitware Robot
8111a6b665
CMake Nightly Date Stamp
2018-01-01 00:01:06 -05:00
Kitware Robot
6eaa984e3a
CMake Nightly Date Stamp
2017-12-31 00:01:09 -05:00
Kitware Robot
f408a60443
CMake Nightly Date Stamp
2017-12-30 00:01:08 -05:00
Craig Scott
3c413e2a31
GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Modules
2017-12-30 09:35:56 +11:00
Craig Scott
c267ea1c3e
GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests
2017-12-30 09:35:56 +11:00
Kitware Robot
3e1f5b11e0
CMake Nightly Date Stamp
2017-12-29 00:01:11 -05:00
Kitware Robot
cd2ed4b87a
CMake Nightly Date Stamp
2017-12-28 00:01:07 -05:00
Craig Scott
8caec41e6e
execute_process: Allow UTF-8 as a synonym for the UTF8 keyword
...
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.
2017-12-27 21:56:00 +11:00
Kitware Robot
497f4bb941
CMake Nightly Date Stamp
2017-12-27 00:01:13 -05:00
Kitware Robot
77f6fdfc2f
CMake Nightly Date Stamp
2017-12-26 00:01:05 -05:00
Kitware Robot
63367d2840
CMake Nightly Date Stamp
2017-12-25 00:01:09 -05:00
Kitware Robot
40dea7e4b2
CMake Nightly Date Stamp
2017-12-24 00:01:09 -05:00
Brad King
0d22a23fd2
Merge topic 'self-c++17'
...
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
2017-12-23 08:19:47 -05:00
Kitware Robot
89ed729af1
CMake Nightly Date Stamp
2017-12-23 00:01:14 -05:00
Gregor Jasny
4017bf40de
Darwin: Emit deployment target that matches the SDK
...
Closes : #17431
2017-12-22 21:56:53 +01:00
Gregor Jasny
8f4663ffb2
Xcode: rename embedded SDK query function
2017-12-22 21:56:53 +01:00
Brad King
31d59ff3b1
Compile CMake as C++17 if supported by the compiler
...
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.
2017-12-22 09:05:54 -05:00
Brad King
31c6b9adbf
Generalize check for C++14 constructs
...
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.
2017-12-22 09:05:54 -05:00
Brad King
4309ed25ee
Merge topic 'FindPkgConfig_search_path_fix'
...
40b95ee8 FindPkgConfig: Fix IMPORTED_TARGET NO...PATH option handling
b0ff528a FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properly
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Rolf Eike Beer <eike@sf-mail.de >
Merge-request: !1602
2017-12-22 08:43:05 -05:00
Kitware Robot
1f29bc4092
CMake Nightly Date Stamp
2017-12-22 00:01:26 -05:00
Brad King
05af537ecc
cmGlobalNinjaGenerator: Avoid using deprecated std::ptr_fun
...
It was deprecated by C++11 and removed by C++17. Use a C++11 lambda.
2017-12-21 08:05:23 -05:00
Brad King
258e6f1b1e
Merge topic 'copyright-year'
...
20eef608 Copyright.txt: Update year range to end in 2018
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1613
2017-12-21 08:02:09 -05:00
Brad King
4148435993
Merge topic 'cpackifw-package-remove-target-dir'
...
739ae1d0 CPack/IFW: Add option to control deletion of the install directory
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1591
2017-12-21 08:01:34 -05:00
Brad King
3ba57ddf89
Merge topic 'use-override'
...
cfe4e2db VS: Use 'override' keyword for overridden methods in generator classes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1601
2017-12-21 07:59:51 -05:00
Brad King
d0390f8be0
Merge topic 'cmake_symlink_library-slashes'
...
099a4ea5 cmcmd: Fix cmake_symlink_library for inconsistent slashes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1612
2017-12-21 07:59:26 -05:00
Brad King
228468cf3e
Merge topic 'objlib-dedup'
...
66c0b36d objlib: fix unchecked insertions in `cmGeneratorTarget::GetLanguages`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1609
2017-12-21 07:58:48 -05:00
Brad King
70fba77b26
Merge topic 'FindBLAS-modernize'
...
a9c42e3e FindBLAS: optionally query pkg-config for a library
c095e2ad FindBLAS: simplify if()
fcf32645 FindBLAS: use FPHSA
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1599
2017-12-21 07:58:10 -05:00
Brad King
1edfb2c47a
Merge topic 'solaris_warning_single'
...
8ef14467 Solaris: Fix shadowed declaration warning
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1611
2017-12-21 07:57:30 -05:00
Craig Scott
08d574e9d7
Merge topic 'ctest-update-timing-summary-manual'
...
d15f199c CTest: Expand 'Label and Subproject Summary' section of manual
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !1598
2017-12-21 06:36:21 -05:00
Kitware Robot
deaa19cfed
CMake Nightly Date Stamp
2017-12-21 00:01:12 -05:00
Brad King
20eef60869
Copyright.txt: Update year range to end in 2018
2017-12-20 13:19:31 -05:00
Brad King
099a4ea50c
cmcmd: Fix cmake_symlink_library for inconsistent slashes
...
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
2017-12-20 11:35:09 -05:00
Pavel Solodovnikov
66c0b36d75
objlib: fix unchecked insertions in cmGeneratorTarget::GetLanguages
2017-12-20 17:37:15 +03:00
Brad King
4d6c273606
Merge branch 'release-3.10'
2017-12-20 08:18:35 -05:00