Commit Graph

45422 Commits

Author SHA1 Message Date
Craig Scott c831e409a5 Merge branch 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY' into release-3.16
Merge-request: !3968
2019-11-05 23:19:14 +11: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 e123cfec09 Merge branch 'tutorial-cleanup' into release-3.16
Merge-request: !3984
2019-11-04 10:27:25 -05:00
Brad King bd1f350883 Merge branch 'root-dir-assertion-fix' into release-3.16
Merge-request: !3976
2019-11-04 10:27:18 -05:00
Brad King 9decc17a23 Merge branch 'FindwxWidgets-wxwin-313' into release-3.16
Merge-request: !3972
2019-11-04 10:27:10 -05:00
Brad King 721b99defc Merge branch 'update-compile-feature-supported-compiler-list' into release-3.16
Merge-request: !3974
2019-11-04 10:27:02 -05:00
Brad King 94d669ecc7 Merge branch 'fix_load_cache_docs' into release-3.16
Merge-request: !3971
2019-11-04 10:26:52 -05:00
Craig Scott 9682adb6ad Tutorial: clean up typos, grammar and formatting 2019-11-04 12:44:34 +11:00
Craig Scott d0681fda11 Merge branch 'docs-file-GET_RUNTIME_DEPENDENCIES' into release-3.16
Merge-request: !3982
2019-11-04 09:41:56 +11:00
Craig Scott 2490c1df74 Merge branch 'docs-list-remove_item' into release-3.16
Merge-request: !3977
2019-11-04 09:34:31 +11:00
Craig Scott 23752d5bad Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)
Note that ``MODULE`` s was rendering strangely, so the wording
has been tweaked to avoid needing to specify ``MODULE`` as a
plural word. Modules are still libraries, so it is okay to call them as
such where it doesn't cause any ambiguity.
2019-11-03 22:44:36 +11:00
Craig Scott ad024439f5 Help: list(REMOVE_ITEM) removes all instances, not just the first found
Fixes: #19908
2019-11-02 18:22:50 +11:00
Craig Scott 0692eaf0fe ForceToRelativePath: Fix spurious assertion when local path is root dir
Fixes: #19909
2019-11-02 17:54:13 +11:00
Tomasz Słodkowicz f805cdd261 FindwxWidgets: Add support for 3.1.3 VS binaries 2019-11-01 10:08:18 -04:00
Charles Barto 657fb0aa6f Help: Clarify load_cache documentation of first parameter
The first parameter is the path to the *directory* containing the
`CMakeCache.txt` file, not the file itself.
2019-11-01 10:00:28 -04:00
Robert Maynard b7955bd931 Help: Remove out of date bounds on compile feature supported versions
The upper limits on what compiler CMake supports is always changing,
and the values inside cmake-compile-feature is always out of date.
So lets remove it.
2019-11-01 08:15:39 -04:00
Brad King 91c26b3d38 Merge branch 'clarify-BOOL-genex-eval' into release-3.16
Merge-request: !3969
2019-10-31 11:52:38 -04:00
Ben Boeckel cd888f1133 Help: drop confusing reference to if() from $<BOOL:>
`if()` uses the internal `IsOn` call whild `$<BOOL:>` uses `IsOff`. For
historical reasons, these are not inverses of each other, so drop
mention of `if()` from the documentation of `$<BOOL:>`.
2019-10-31 11:49:43 -04:00
Brad King c1d5d5eb11 CMake 3.16.0-rc3 v3.16.0-rc3 2019-10-31 09:25:31 -04:00
Brad King a53921b016 Merge branch 'swift-rpath' into release-3.16
Merge-request: !3965
2019-10-31 09:08:34 -04:00
Brad King d3c8610556 Merge branch 'help-file-spelling-error' into release-3.16
Merge-request: !3964
2019-10-31 09:08:27 -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
Craig Scott e5cc8f575b Merge branch 'docs-CMakePrintHelpers-typo' into release-3.16
Merge-request: !3966
2019-10-31 21:28:16 +11:00
Craig Scott fea940eb86 Help: Fix minor typo in CMakePrintHelpers module docs
Fixes: #19900
2019-10-31 10:24:17 +11:00
Saleem Abdulrasool 1e05f89f4b Swift: support BUILD_RPATH properties
Enable passing a RPATH to Swift shared libraries.  This enables testing
libraries before they have been installed.
2019-10-30 14:18:15 -04:00
Marc Chevrier e0412a0e0b Help: Fix spelling error in file(GET_RUNTIME_DEPENDENCIES) docs 2019-10-30 13:49:54 -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 1efc4c9051 Merge branch 'fix-find_package-doc' into release-3.16
Merge-request: !3961
2019-10-30 09:26:09 -04:00
Deniz Bahadir 9a08818e54 Help: Add OPTIONAL_COMPONENTS to config mode signature of find_package. 2019-10-30 09:24:36 -04:00
Brad King 931d734a3f Merge branch 'bootstrap-break' into release-3.16
Merge-request: !3959
2019-10-29 12:05:13 -04:00
Brad King 1dbf485934 bootstrap: Avoid redundant compiler selection checks
In commit 6e613ff399 (bootstrap: Add infrastructure to detect threading
flags, 2017-11-28, v3.11.0-rc1~281^2~1) an extra level of nesting was
added to the selection loop, but the inner-most `break` command used to
exit the loop on success was not updated.  This caused the outer-most
loop to iterate unnecessarily and repeatedly try the same compilers
again.  In the case of compilers requiring a `-std=` flag, this may have
caused the oldest standard to be used instead of the newest.
2019-10-29 12:03:54 -04:00
Brad King 449a29296d Merge branch 'sdk-on-mac' into release-3.16
Merge-request: !3957
2019-10-28 13:39:52 -04:00
Brad King ee366b0273 Merge branch 'FindCurses-formw' into release-3.16
Merge-request: !3947
2019-10-28 12:04:26 -04:00
nick black 84ce473255 FindCurses: use formw when wide support is requested
Fixes: #19883
2019-10-28 12:03:11 -04:00
Brad King c10c9f839a Swift: Honor CMAKE_OSX_SYSROOT on Apple platforms
Pass the value to the Swift compiler driver via `-sdk`.  We already do
this for C/C++ via `-isysroot`.

This fixes command-line builds on macOS 10.15 with Xcode 11 Swift tools.

Fixes: #19880
2019-10-28 11:52:31 -04:00
Brad King f9193ca2dd Merge branch 'swift-parallel-jobs' into release-3.16
Merge-request: !3950
2019-10-28 11:37:39 -04:00
Saleem Abdulrasool d9dd7cca66 Swift: correct flags for parallel jobs
`-num-threads` is for the threading, not the job control.  Use `-j` to
launch the parallel jobs.  This enables parallel builds for Swift again
after driver updates preventing the parallelization through
`-num-threads`.
2019-10-28 11:36:57 -04:00
Brad King a575fbc3cb Merge branch 'docs-find-vars' into release-3.16
Merge-request: !3952
2019-10-28 11:33:05 -04:00
Brad King 62267715fe Merge branch 'framework-tests-multiarch-old-macos' into release-3.16
Merge-request: !3954
2019-10-28 10:09:29 -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 f4749489fd Merge branch 'docs-FindPython-minor-grammar' into release-3.16
Merge-request: !3953
2019-10-28 21:54:30 +11:00
Craig Scott 3e30c4cc1f Tests: Match file command output for older macOS (Framework test) 2019-10-27 23:48:41 +11:00
Craig Scott 89ad3b3959 Tests: Prevent CMP0012 policy warnings in Framework test output 2019-10-27 23:28:17 +11:00
Craig Scott 9914b90f4a Help: Minor wording cleanup for Python modules 2019-10-27 21:36:31 +11:00
Craig Scott a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs 2019-10-27 18:11:00 +11:00
Craig Scott 049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too
The original intent of <PackageName>_ROOT may have been for it
to apply only to Find modules, but the implementation of the
find_package() command treats modules and config packages the
same. Both result in a <PackageName>_ROOT variable being
pushed onto the stack of package roots. A config package can
also call other find_...() commands, the behavior doesn't apply
just to find modules.
2019-10-27 16:10:09 +11: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
Craig Scott 15a0b0d046 Help: math() expressions must be representable as signed 64-bit 2019-10-26 17:47:03 +11:00
Brad King 81ded33c04 Merge branch 'cmp0097-doc-fix' into release-3.16
Merge-request: !3941
2019-10-24 08:01:36 -04:00
Kyle Edwards fd867a49c4 Help: Fix capitalization in CMP0097 documentation 2019-10-23 17:05:09 -04:00