| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
cc92a4c228 Help: Fix typo in find_package documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5014
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
ff086f066b NVCC: Handle host compiler with spaces in path
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5019
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Need to surround it with quotes otherwise the different bits are passed as
separate arguments.
Fixes #20954.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
f6969b917d set_property: Deduplicate source file directory scopes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5009
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A user could specify the same directory scope to set_property()
multiple times, which in conjunction with APPEND would append the
property multiple times.
Make sure to deduplicate scopes across both DIRECTORY and
TARGET_DIRECTORY options, so that a property is only appended
once in such a scenario.
Fixes: #20941
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
d9af90504f Tests: Update file(G_R_D) test to make system library optional
c51400033c file: Update GET_RUNTIME_DEPENDENCIES for macOS 11 dylib cache
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !4998
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Since the system library may not exist on the filesystem on macOS
11, skip it if it doesn't exist.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Starting on macOS 11, the dynamic loader has a builtin cache of
system-provided dylib files. They do not actually exist on the
filesystem. However, runtime dependencies recorded in Mach-O binaries
can still have `LC_LOAD_DYLIB` entries referring to such dylib files by
absolute path. The dynamic loader simply resolves the paths from its
cache. Teach `file(GET_RUNTIME_DEPENDENCIES)` to skip dependencies on
such dylib paths. For practical software distribution purposes they do
not exist, or at least can be assumed available on all deployments.
Issue: #20863
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
7cf2f7d2af cmake: Store lowercase command names in profiling output
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5007
|
| |/
| |
| |
| |
| |
| |
| | |
This ensures commands can be properly aggregated by tools
processing the profiling output.
Fixes: #20946
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
7b0f6508a0 ALIAS targets: Non-global aliases must be propagated to sub-directories
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5002
|
| |/
| |
| |
| | |
Fixes: #20942
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
0bdb1a77d1 Help: Clarify wording of dir-related source property options
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5000
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
9c3beb532f cmake: Show supported formats in --help output for --profiling-format
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: dublet <github@dublet.org>
Merge-request: !5001
|
|/
|
| |
Fixes: #20943
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
961ee62faa Help: Update get_property and get_source_file_property docs
1235f2d747 set_property: Allow both DIRECTORY and TARGET_DIRECTORY together
177052d6b8 set_property: Fix name of TARGET_DIRECTORY option in error messages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4994
|
| |
| |
| |
| | |
Specify the names and alternatives a bit more clearly.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow to specify both DIRECTORY and TARGET_DIRECTORY at the same time in
`set_source_files_properties()` and `set_property(SOURCE)` commands.
Add test cases and update the documentation.
Fixes: #20932
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
f332ce12d6 IRSL: Fix path to Intel 32-bit redist libraries
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4995
|
| | |
| | |
| | |
| | |
| | |
| | | |
The path to the 32 bit libraries in the Intel windows/redist folder use
ia32. I don't remember if this has changed at some point, but ia32 has
been used at least since Intel Fortran XE 2018.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
656d6ea821 FindOpenMP: Set version variables every time CMake runs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4996
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The version is determined in two steps. First, the "spec date" is
detected and cached. Second, the date is converted to a version.
Move the second step out of the spec date cache guard condition
so that it runs every time even if the spec date is already cached.
Fixes: #19150
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
e8051b1f20 FindJava: Update check to avoid accepting macOS stub 'java' as Java
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4993
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since commit dd378258f1 (FindJava: Do not accept OS X stub 'java' as
Java, 2014-10-24, v3.1.0-rc3~29^2) we try to avoid using the macOS
`/usr/bin/java` stub if no underlying implementation of Java is actually
installed. However, the message that `/usr/bin/java` prints when there
is no Java available has changed since then. Update our check to also
look for the new message.
While at it, revise the way we suppress `Java_JAVA_EXECUTABLE`.
Previously we set its cache entry to `Java_JAVA_EXECUTABLE-NOTFOUND`,
but that would cause the same find-and-reject sequence to be followed
every time CMake runs in a build tree. Instead, use the approach from
commit 2c0db404d1 (FindSubversion: Do not accept macOS stub without
Xcode implementation, 2020-05-28, v3.18.0-rc1~67^2). Leave the cache
entry alone and just set a normal variable of the same name to hide it.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
8707178c1c FindCUDA/select_compute_arch: generate PTX for the latest architecture
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4991
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
f8b7acaf90 Help: Fix CPack module docs on config file for source package
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4985
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
c57695a2f4 Help: Clarify search order for resource spec file
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4983
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clarify the order in which --resource-spec-file, RESOURCE_SPEC_FILE,
and CTEST_RESOURCE_SPEC_FILE are searched, and add tests to
enforce this.
Fixes: #20914
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
33192e1b5f FindMPI: Pass -pthread to NVCC through -Xlinker for device linking
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4981
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #20924
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
295d1b9cb5 FindCUDA/select_compute_arch: Add CUDA 11 and Ampere support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Axel Huebl <axel.huebl@plasma.ninja>
Acked-by: Tobias Ribizel <ribizel@kit.edu>
Acked-by: Henry Schreiner <henryschreineriii@gmail.com>
Merge-request: !4979
|
| | |_|/
| |/| |
| | | |
| | | | |
Co-Author: Henry Schreiner <henryschreineriii@gmail.com>
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
196f042b58 FindLAPACK: Handle Windows Intel MKLROOT with backslash
96c19ecd55 FindBLAS: Handle Windows Intel MKLROOT with backslash
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4982
|
| | | | |
|
| |/ / |
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
8eb7cf9b5f cmake-gui: Fix compilation as C++14 with Qt 5.14
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !4978
|
| |/
| |
| |
| |
| |
| | |
Fix code added by commit d7679f6427 (QCMakeCacheView: use non-deprecated
List and Set constructions, 2020-06-10, v3.18.0-rc2~13^2), used
conditionally on Qt 5.14 or above, to compile as C++14.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
b725a19072 FindMPI: Deny -fexceptions from NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !4970
|
| |/
| |
| |
| |
| |
| | |
Do not forward -fexceptions (set from MVAPICH2) to NVCC.
Fixes: #18558
|
|\ \
| | |
| | |
| | | |
Merge-request: !4971
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, `cm::static_reference_cast` used `invoke_result_t` and took
the address of `O::get`. This is not in complete conformance with
standard.
Change the implementation to use `std::declval<O>.get()` which is always
well-defined.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
f9766dad19 Help: Update file(ARCHIVE...) synopsis for renamed options
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4977
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
The FILES and DIRECTORY options were renamed in bbcff21f71
(file(ARCHIVE*): Collapse FILES and DIRECTORY options, 2020-06-30),
but the synopsis part of the file() documentation was missed.
The synopsis also typically only shows the mandatory options.
Update the synopsis to reflect the name changes and omit the
DESTINATION option since it is not mandatory.
|