Commit Graph

23173 Commits

Author SHA1 Message Date
Brad King 18cbf898f8 Merge topic 'add-package_root-to-find_package'
4a207116 find_package: Split PACKAGE_ROOT tests to work with smaller regex
9722ff5a find_package: Fix PACKAGE_ROOT test to check find_pacakge(CONFIG) mode.
c5d2b99c find_package: Add missing PACKAGE_ROOT_PATH search path implementation.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1082
2017-08-04 09:09:59 -04:00
Kitware Robot c9b3ad6f6b CMake Nightly Date Stamp 2017-08-04 00:01:06 -04:00
Brad King ee79d7a130 Merge topic 'server-fix-crash'
70272f3c server: Fix crash on missing cache entries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1096
2017-08-03 09:34:15 -04:00
Kitware Robot 8e8bf42707 CMake Nightly Date Stamp 2017-08-03 00:01:09 -04:00
Craig Scott 54bc20dd8c Merge topic 'autogen-depends'
a3a62fcc Autogen: Add AUTOMOC test for target dependencies forwarding
7fa9c550 Autogen: Forward target dependencies to *_autogen target

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1087
2017-08-02 17:44:59 -04:00
Laurent Rineau 70272f3c36 server: Fix crash on missing cache entries
Test for nullptr before constructing std::string.
2017-08-02 16:13:55 -04:00
Kitware Robot 611f162532 CMake Nightly Date Stamp 2017-08-02 00:01:05 -04:00
Kitware Robot 748c192f8b CMake Nightly Date Stamp 2017-08-01 00:01:05 -04:00
Kitware Robot df585ca96f CMake Nightly Date Stamp 2017-07-31 00:01:04 -04:00
Kitware Robot 49577c98b4 CMake Nightly Date Stamp 2017-07-30 00:01:05 -04:00
Kitware Robot 5ba1ab4c6b CMake Nightly Date Stamp 2017-07-29 00:01:06 -04:00
Chuck Atkins c5d2b99c02 find_package: Add missing PACKAGE_ROOT_PATH search path implementation. 2017-07-28 10:49:13 -04:00
Sebastian Holtermann 7fa9c55019 Autogen: Forward target dependencies to *_autogen target
Only the dependecies from target_link_libraries() of the origin
target were forwarded to the _autogen target. This patch
adds forwarding of the dependencies from add_dependencies()
to the _autogen target.

Closes #17094
2017-07-28 12:40:18 +02:00
Kitware Robot bfb40bcf66 CMake Nightly Date Stamp 2017-07-28 00:01:07 -04:00
Kitware Robot ba184cefcd CMake Nightly Date Stamp 2017-07-27 00:01:07 -04:00
Kitware Robot f911582423 CMake Nightly Date Stamp 2017-07-26 00:01:04 -04:00
Kitware Robot d9a541eacb CMake Nightly Date Stamp 2017-07-25 00:01:06 -04:00
Kitware Robot a01aa179fa CMake Nightly Date Stamp 2017-07-24 00:01:04 -04:00
Kitware Robot f3171a695b CMake Nightly Date Stamp 2017-07-23 00:01:05 -04:00
Kitware Robot e4edd3503a CMake Nightly Date Stamp 2017-07-22 00:01:06 -04:00
Brad King 81005ff16b Merge topic 'string-clear-intermediate-matches'
b7941641 cmStringCommand: clear intermediate matches

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1065
2017-07-21 10:16:26 -04:00
Brad King b7e8b0e260 Merge topic 'cpack-dmg-applescript-argv'
351c1b1a CPack: Pass volume mount name to AppleScript instead of volume name.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1069
2017-07-21 10:15:09 -04:00
Brad King 7b70023e93 Merge topic 'add_test_processors_prop_to_cdash'
614921b4 Add the test property PROCESSORS to the CDash xml as a NamedMeasurement.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1066
2017-07-21 10:13:36 -04:00
Ben Boeckel b794164143 cmStringCommand: clear intermediate matches
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.
2017-07-21 09:09:56 -04:00
Kitware Robot 6f08ce1a4f CMake Nightly Date Stamp 2017-07-21 00:01:05 -04:00
Gusts Kaksis 351c1b1ad6 CPack: Pass volume mount name to AppleScript instead of volume name.
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.
2017-07-20 11:22:03 -04:00
Brad King a8d8d2fd05 Merge topic 'autogen-generated-files'
dca5df16 Autogen: Process GENERATED files. Add CMP0071.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1061
2017-07-20 10:52:20 -04:00
Kitware Robot f6a85bdbb1 CMake Nightly Date Stamp 2017-07-20 00:01:04 -04:00
Kitware Robot ce0911011e CMake Nightly Date Stamp 2017-07-19 00:01:08 -04:00
Bill Hoffman 614921b4c9 Add the test property PROCESSORS to the CDash xml as a NamedMeasurement.
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.
2017-07-18 12:18:11 -04:00
Sebastian Holtermann dca5df16c5 Autogen: Process GENERATED files. Add CMP0071.
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
2017-07-18 18:11:31 +02:00
Brad King f15cfd891d CMake 3.9.0 2017-07-18 11:18:18 -04:00
Brad King fc4f352513 Merge topic 'server-refactor'
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
2017-07-18 11:14:02 -04:00
Brad King 407c7415f4 Merge topic 'cmake-E-sha'
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
2017-07-18 11:12:57 -04:00
Brad King 787017451c Merge topic 'objlib-own-target-objs'
d89e10cd Diagnose object library self-reference

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1053
2017-07-18 11:12:00 -04:00
Kitware Robot ec049641c4 CMake Nightly Date Stamp 2017-07-18 00:01:06 -04:00
Brad King b97878643b Merge branch 'objlib-own-target-objs' into release-3.9 2017-07-17 11:42:18 -04:00
Brad King 8ff5aeb7cb Merge topic 'xcode9support'
0348383b Xcode: Add "outputPaths" to custom command script build phase

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1054
2017-07-17 10:26:37 -04:00
Brad King 3ce57e3b54 Merge topic 'fix-lang-std-option-list'
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
2017-07-17 10:25:36 -04:00
Kitware Robot 2d5e494637 CMake Nightly Date Stamp 2017-07-17 00:01:04 -04:00
Kitware Robot ecfd3ef2f3 CMake Nightly Date Stamp 2017-07-16 00:01:04 -04:00
Kitware Robot c9433f9b5a CMake Nightly Date Stamp 2017-07-15 00:01:09 -04:00
Brad King d89e10cd58 Diagnose object library self-reference
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
2017-07-14 14:05:22 -04:00
André Klitzing c4de0a25ac Add sha1sum, sha224sum, sha256sum, sha384sum and sha512sum to command mode 2017-07-14 19:49:45 +02:00
Brad King 68a64478c5 Merge branch 'xcode9support' into release-3.9 2017-07-14 10:40:33 -04:00
Harry Mallon 0348383b8c Xcode: Add "outputPaths" to custom command script build phase
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.
2017-07-14 10:38:00 -04:00
Brad King 8c7facd69b Merge branch 'backport-fix-lang-std-option-list' into release-3.9 2017-07-14 10:20:12 -04:00
Brad King cef77f0687 Allow language extensions without any standard to use a list of options
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).
2017-07-14 10:20:07 -04:00
Brad King 74e337117f Merge branch 'backport-fix-lang-std-option-list' into fix-lang-std-option-list 2017-07-14 10:19:59 -04:00
Brad King fca0546175 cmLocalGenerator: Explain standard flag selection logic in comments 2017-07-14 10:19:56 -04:00