Commit Graph

27877 Commits

Author SHA1 Message Date
Kyle Edwards
3c85f11fed INSTALL_NAME_DIR: Add support for generator expressions 2019-11-04 12:01:05 -05:00
Robert Maynard
55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
Extend the change from commit 1d00ba9ccf (Find: find_package prefers
variable CMAKE_FIND_USE_REGISTRY, 2018-11-13, v3.16.0-rc1~461^2~1)
to cover the system package registry too.

Fixes: #19890
2019-11-04 10:31:16 -05:00
Brad King
5c3c228570 Merge topic 'cpack_absolute_package_directory'
63c0bc9292 CPack: Ensure CPACK_PACKAGE_DIRECTORY is an absolute path

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3946
2019-11-04 10:29:44 -05:00
Brad King
abac3a31a2 Merge topic 'root-dir-assertion-fix'
0692eaf0fe ForceToRelativePath: Fix spurious assertion when local path is root dir

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3976
2019-11-04 10:24:31 -05:00
Craig Scott
ac8de0dbcf RPATH: Remove stray indent in generated file(RPATH_CHANGE) command 2019-11-04 16:26:42 +11:00
Kitware Robot
e3afdef8c5 CMake Nightly Date Stamp 2019-11-04 00:01:09 -05:00
Cristian Adam
e331367a89 PCH: Add support for OBJC/OBJCXX languages 2019-11-03 21:34:39 +01:00
Kitware Robot
0fb4e0ad15 CMake Nightly Date Stamp 2019-11-03 00:01:06 -04:00
Alex Turbov
7b2dd9dedc Refactor: Use added message types in various modules
Co-Authored-By: Craig Scott <craig.scott@crascit.com>
2019-11-02 14:10:09 +02:00
Alex Turbov
949a1e120a message: New message types to mark checks performed by CMake
Closes #19638.

Co-Authored-By: Craig Scott <craig.scott@crascit.com>
2019-11-02 14:10:09 +02:00
Craig Scott
0692eaf0fe ForceToRelativePath: Fix spurious assertion when local path is root dir
Fixes: #19909
2019-11-02 17:54:13 +11:00
Kitware Robot
60e7e5b605 CMake Nightly Date Stamp 2019-11-02 00:01:06 -04:00
Kyle Edwards
2ec1156b80 Refactor: Generalize cmExportInstallFileGenerator::ReplaceInstallPrefix() 2019-11-01 17:29:37 -04:00
Johnny Jazeix
63c0bc9292 CPack: Ensure CPACK_PACKAGE_DIRECTORY is an absolute path
Fixes: #18133, #19412
2019-11-01 10:18:33 -04:00
Brad King
6660926f22 Merge topic 'ctest-repeat-until-pass'
39ac8b4eb5 ctest: Add --repeat-after-timeout option
80c2c9d14c ctest: Add --repeat-until-pass option
0187e52244 cmCTestRunTest: Use inline member initializers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3960
2019-11-01 09:55:18 -04:00
Kitware Robot
b42da46233 CMake Nightly Date Stamp 2019-11-01 00:01:08 -04:00
Brad King
c1d5d5eb11 CMake 3.16.0-rc3 2019-10-31 09:25:31 -04:00
Brad King
6f15cea15e Merge topic 'autogen_windows_search_fix'
90d643c312 Autogen: Fix ambiguity in header file detection on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3962
2019-10-31 09:09:39 -04:00
Brad King
7fa657b41d Merge branch 'autogen_windows_search_fix' into release-3.16
Merge-request: !3962
2019-10-31 09:08:18 -04:00
Brad King
9a72065fa9 Merge topic 'update-kwsys'
5ddcaae77c Merge branch 'upstream-KWSys' into update-kwsys
fe6725a1f7 KWSys 2019-10-30 (43131a7c)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3963
2019-10-31 08:54:45 -04:00
Kitware Robot
e4a5215e97 CMake Nightly Date Stamp 2019-10-31 00:01:10 -04:00
Sebastian Holtermann
90d643c312 Autogen: Fix ambiguity in header file detection on Windows
On Windows, `CollapseFullPath` called with a path that ends with a dot
might return a file with the same base name but any extension.
To make sure we get only the file with the requested header extension,
pass the complete file name to `CollapseFullPath`.

Fixes: #19892
2019-10-30 09:34:06 -04:00
Brad King
dbf5ae35b5 Merge topic 'scanbuild-fixes'
fe5ba71bd0 Tests: Suppress clang scan-build warning in UTF8 test
3cf71e8c7d cmLocalGenerator: Drop unused initializer in AddUnityBuild

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3958
2019-10-30 09:30:34 -04:00
Brad King
5ddcaae77c Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2019-10-30 (43131a7c)
2019-10-30 09:17:30 -04:00
Kitware Robot
5b64788c51 CMake Nightly Date Stamp 2019-10-30 00:01:07 -04:00
Brad King
39ac8b4eb5 ctest: Add --repeat-after-timeout option
Add an option to re-run tests if they timeout.  This will help tolerate
sporadic timeouts on busy machines.
2019-10-29 15:14:36 -04:00
Brad King
80c2c9d14c ctest: Add --repeat-until-pass option
Add an option to re-run tests if they fail.  This will help tolerate
sporadic failures.

Issue: #17010
Co-Author: Ben Boeckel <ben.boeckel@kitware.com>
Co-Author: Chuck Atkins <chuck.atkins@kitware.com>
2019-10-29 15:10:12 -04:00
Brad King
0187e52244 cmCTestRunTest: Use inline member initializers 2019-10-29 13:47:23 -04:00
Brad King
1fb4839225 Merge topic 'ccmake_progress_bar_and_log_display'
2086da1713 ccmake: Add output and progress bar release note
66d969fcc4 ccmake: Don't overwrite the last character of the title
1d0e557aed ccmake: Display output during configure and generate
c168e789df ccmake: Use the error display for all the logs
3300070cc2 ccmake: Display an ASCII progress bar in the status bar

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3942
2019-10-29 11:18:16 -04:00
Kitware Robot
cffff0f17e CMake Nightly Date Stamp 2019-10-29 00:01:08 -04:00
Brad King
3cf71e8c7d cmLocalGenerator: Drop unused initializer in AddUnityBuild
Fix a warning from clang-scanbuild:

    warning: Value stored to 'chunk' during its initialization is never read
    for (size_t itemsLeft = filtered_sources.size(), chunk = batchSize,
                                                     ^~~~~   ~~~~~~~~~

Simply remove the initializer.
2019-10-28 15:52:55 -04:00
Craig Scott
c79e9d8c21 Merge branch 'project-version-buffer-overflow' into release-3.16
Merge-request: !3948
2019-10-28 21:55:20 +11:00
Craig Scott
cdcc173e23 Merge topic 'project-version-buffer-overflow'
82cdb26c93 project: Fix potential buffer write-past-end for version components
15a0b0d046 Help: math() expressions must be representable as signed 64-bit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3948
2019-10-28 06:50:22 -04:00
Kitware Robot
0e4190ba9e CMake Nightly Date Stamp 2019-10-28 00:01:05 -04:00
Kitware Robot
f3968470ce CMake Nightly Date Stamp 2019-10-27 00:01:04 -04:00
Craig Scott
82cdb26c93 project: Fix potential buffer write-past-end for version components
This fixes two errors: not accounting for the trailing null and a
misunderstanding of what std::numeric_limits::digits10 means.
2019-10-26 17:50:24 +11:00
Kitware Robot
a894397153 CMake Nightly Date Stamp 2019-10-26 00:01:09 -04:00
Brad King
5c8d821eca Merge topic 'xcode-scheme-env'
f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3933
2019-10-25 09:37:49 -04:00
Sylvain Joubert
66d969fcc4 ccmake: Don't overwrite the last character of the title 2019-10-25 14:58:23 +02:00
Sylvain Joubert
1d0e557aed ccmake: Display output during configure and generate 2019-10-25 14:58:23 +02:00
Sylvain Joubert
c168e789df ccmake: Use the error display for all the logs 2019-10-25 14:58:23 +02:00
Sylvain Joubert
3300070cc2 ccmake: Display an ASCII progress bar in the status bar
The status bar is now only used to display the progress.
The status log are not shown anymore since for the most cases they went
by too quickly to be read. As for cases when a process is long enough
to display and read a log, it would probably be a previous unrelated
message.
2019-10-25 14:58:23 +02:00
Kitware Robot
5a3f539cd5 CMake Nightly Date Stamp 2019-10-25 00:01:07 -04:00
Felix Heidrich
f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable
Initialize the `XCODE_SCHEME_ENVIRONMENT` target property.

This was left out of commit 6b7f1e1db0 (Xcode: Add variables and
properties to configure schemes, 2018-07-29, v3.13.0-rc1~243^2).
2019-10-24 11:24:34 -04:00
Brad King
26a0f5d6d4 Merge topic 'fortran-ext-F'
39fbbd6fea Fortran: Add .F extension to Source Files group

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3940
2019-10-24 08:02:21 -04:00
Kitware Robot
490da0bd33 CMake Nightly Date Stamp 2019-10-24 00:01:04 -04:00
Johnny Jazeix
39fbbd6fea Fortran: Add .F extension to Source Files group
While at it, improve source layout of the regex string literal.

Fixes: #8768
2019-10-23 09:20:25 -04:00
Kitware Robot
44b5f037e6 CMake Nightly Date Stamp 2019-10-23 00:01:08 -04:00
Brad King
04e0fa3307 Merge topic 'android-native'
c5892e484e Android: add support for native compilation, such as with the Termux app

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3917
2019-10-22 08:57:44 -04:00
Kitware Robot
24703b11b4 CMake Nightly Date Stamp 2019-10-22 00:01:07 -04:00