Commit Graph

60610 Commits

Author SHA1 Message Date
Brad King 33cf87619b Merge branch 'test-git-local-defaultBranch' into release-3.24
Merge-request: !8060
2023-01-11 17:13:40 -05:00
Brad King baa8597076 Tests: Fix CTest.UpdateGIT under repo-local defaultBranch config
The default branch detection added by commit 26ec2e2b0c (Tests: Update
CTest.UpdateGIT test for custom defaultBranch, 2020-12-02,
v3.20.0-rc1~355^2) fails if the test is run inside a Git work tree whose
`.git` directory configures a `defaultBranch` that is different from the
global or system-wide value.  Fix the detection to ignore the locally
configured value so that we match the `git init` decision.
2023-01-11 17:11:34 -05:00
xiny 4d90f65b24 CUDA: Update set of architectures supported by CUDA 12
Remove architectures 35 and 37 for CUDA 12.

Architecture 21 is not in CMAKE_CUDA_ARCHITECTURES_ALL_MAJOR so there is
no need to remove it.
2023-01-11 16:47:30 -05:00
Gustaf Borgström b64a69b6c4 Help: Fix typo in configure_file docs 2023-01-11 16:32:35 -05:00
lilinjie 256262876b FindwxWindows: Fix comment typos 2023-01-11 16:27:04 -05:00
Christian Häggström 5e7a4ad1a1 ctest: Add missing newlines on several error messages
Without this:

   user@host:~$ ctest --build-and-test foo
   --build-and-test must have source and binary dir
   Problem parsing command line arguments within a handleruser@host:~$
2023-01-11 15:52:37 -05:00
Jorrit Olthuis 6683c20f22 FindMatlab: Add SYSTEM include flag for matlab_add_mex
Add the `SYSTEM` flag for include directories provided by MATLAB, as the
the pragmas used are not compatible with GCC and generate a warning.

Fixes: #24166
2023-01-11 15:26:19 -05:00
Russell Greene e4fcdfa301 Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilers
The `GNU` and `MSVC` compilers obviously use their own front-end
command-line style.  Also set this for `AppleClang`.

Fixes: #24232
2023-01-11 14:50:40 -05:00
Markus Ferrell 91f6c808d0 Tutorial: Fix typo in step 5 todo statement 2023-01-11 11:55:53 -05:00
Robert Maynard 743d4181b4 FindCUDAToolkit: Support cross-compilation to sbsa-linux
Fixes #24192
2023-01-11 11:27:37 -05:00
Robert Maynard e60fa80fbe FindCUDAToolkit: Handle CUDA::nvToolsExt not existing 2023-01-11 11:27:37 -05:00
Kitware Robot 51a0292d9c CMake Nightly Date Stamp 2023-01-11 00:01:07 -05:00
Kitware Robot cda4310a82 CMake Nightly Date Stamp 2023-01-10 00:01:11 -05:00
Kitware Robot 1c3d56ed66 CMake Nightly Date Stamp 2023-01-09 00:01:28 -05:00
Craig Scott cd02b96452 Merge topic 'doc-FOLDER-xref-USE_FOLDERS'
0ee32d622c Help: Mention USE_FOLDERS property in the FOLDER docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8050
2023-01-08 00:39:16 -05:00
Kitware Robot 64004e9cb3 CMake Nightly Date Stamp 2023-01-08 00:01:05 -05:00
Kitware Robot 0038a71554 CMake Nightly Date Stamp 2023-01-07 00:01:05 -05:00
Alexander Neundorf 0ee32d622c Help: Mention USE_FOLDERS property in the FOLDER docs 2023-01-07 11:10:11 +11:00
Kitware Robot b2a6527f37 CMake Nightly Date Stamp 2023-01-06 00:01:09 -05:00
Kitware Robot 12f9582f92 CMake Nightly Date Stamp 2023-01-05 00:01:06 -05:00
Kitware Robot 4fec7f9de5 CMake Nightly Date Stamp 2023-01-04 00:01:09 -05:00
Vitaly Stakhovsky 0ee984defa CTest: Use std::string arguments 2023-01-03 07:49:22 -05:00
Kitware Robot 323ff3e9ab CMake Nightly Date Stamp 2023-01-03 00:01:09 -05:00
Kitware Robot e1eacbe2c5 CMake Nightly Date Stamp 2023-01-02 00:01:32 -05:00
Craig Scott ed9cdcd73a Merge topic 'std-move-on-return-warning'
ba981bb2ed TryCompileCode(): Prevent warning on return value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8043
2023-01-01 08:02:29 -05:00
Kitware Robot 3f7322595c CMake Nightly Date Stamp 2023-01-01 00:01:08 -05:00
Kitware Robot bf7d8ad970 CMake Nightly Date Stamp 2022-12-31 00:01:08 -05:00
Kitware Robot bb52a1781a CMake Nightly Date Stamp 2022-12-30 00:01:08 -05:00
Craig Scott ba981bb2ed TryCompileCode(): Prevent warning on return value
Some newer compilers warn in situations where the returned local
variable could be movable, but a C++11 defect meant older compilers
may still return a copy when a type conversion is involved. Adding
the suggested std::move prevents that warning on that compiler, but
creates a new warning on others. Constructing the actual return type
explicitly with the suggested std::move on the constructor argument
keeps both sets of compilers happy.
2022-12-30 10:42:55 +11:00
Kitware Robot 06dfd7b705 CMake Nightly Date Stamp 2022-12-29 00:01:09 -05:00
Kitware Robot 935974fb72 CMake Nightly Date Stamp 2022-12-28 00:01:07 -05:00
Kitware Robot bf5c16a9fe CMake Nightly Date Stamp 2022-12-27 00:01:15 -05:00
Kitware Robot c1e1ba1973 CMake Nightly Date Stamp 2022-12-26 00:01:18 -05:00
Kitware Robot c63dc1dbe4 CMake Nightly Date Stamp 2022-12-25 00:01:07 -05:00
Kitware Robot 6db1150115 CMake Nightly Date Stamp 2022-12-24 00:01:11 -05:00
Marc Chevrier 01f948fcc9 Merge topic 'useswig-docs'
87778d2da5 Help: Enhance UseSWIG module documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8013
2022-12-23 05:09:51 -05:00
Kitware Robot 0d1ad52039 CMake Nightly Date Stamp 2022-12-23 00:01:15 -05:00
FeRD (Frank Dana) 87778d2da5 Help: Enhance UseSWIG module documentation
* Add section headings
* Add TOC (HTML only)
* Move `swig_link_libraries()` to "Deprecated commands"
  section at end of docs, document as deprecated in favor of
  `target_link_libraries()` in all cases.
2022-12-22 06:10:22 -05:00
Marc Chevrier aaf4367371 Merge topic 'STATIC_LIBRARY_OPTIONS-property-fix-genex-expension'
74638c47ff STATIC_LIBRARY_OPTIONS: ensure correct expension of list inside a genex

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8038
2022-12-22 05:41:53 -05:00
Kitware Robot e9dc092c76 CMake Nightly Date Stamp 2022-12-22 00:01:07 -05:00
FeRD (Frank Dana) 7683f43215 Help: Move FindITK/FindVTK to deprecated list
Both modules have actually been removed entirely, they exist
in the Help directory only as "This module used to exist"
placeholders.
2022-12-21 21:04:50 -05:00
Kitware Robot b439ca1cd3 CMake Nightly Date Stamp 2022-12-21 00:01:08 -05:00
Marc Chevrier 74638c47ff STATIC_LIBRARY_OPTIONS: ensure correct expension of list inside a genex
Fixes: #24258
2022-12-20 12:20:48 +01:00
Kitware Robot 87aeb2f563 CMake Nightly Date Stamp 2022-12-20 00:01:09 -05:00
Craig Scott 555a892a69 Merge branch 'release-3.25' 2022-12-19 15:57:23 -05:00
Craig Scott c1294454e5 Merge topic 'doc-SYSTEM'
dfab263825 Help: Clarify and update SYSTEM-related docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8027
2022-12-19 15:57:22 -05:00
Craig Scott 7aed5f74b2 Merge topic 'doc-SYSTEM' into release-3.25
dfab263825 Help: Clarify and update SYSTEM-related docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8027
2022-12-19 15:57:21 -05:00
Craig Scott 08b76f0587 Merge branch 'release-3.25' 2022-12-19 15:14:19 -05:00
Craig Scott 85f61686b6 Merge topic 'code-comment-typos'
a817948423 Code comments: Fix trivial typos

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8030
2022-12-19 15:14:19 -05:00
Craig Scott a776857dc6 Merge topic 'code-comment-typos' into release-3.25
a817948423 Code comments: Fix trivial typos

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8030
2022-12-19 15:14:17 -05:00