- Jul 09, 2021
-
-
Brad King authored
-
Brad King authored
Since commit 5115dd1e (IntelLLVM: Fix C/C++ standard level flags on Windows, 2021-07-07, v3.21.0-rc3~7^2^2) we activate C/C++ standard level logic for IntelLLVM when targeting the MSVC ABI. Update the `RunCMake.try_compile` test to be aware of this even when CMake is itself configured by an older CMake that does not know this.
-
Clang does not define `__STDC__` if in MSVC compatibility mode, but does define `__STDC_VERSION__`. Avoid the fallback for this combination. This backports commit 7596d8b9 (CMakeCCompilerId: Fix C standard detection in Clang MSVC mode, 2021-02-07, v3.21.0-rc1~587^2~14) to the 3.20 release series. This is needed since commit 5115dd1e (IntelLLVM: Fix C/C++ standard level flags on Windows, 2021-07-07, v3.21.0-rc3~7^2^2) now that we activate C/C++ standard level logic for IntelLLVM when targeting the MSVC ABI.
-
Brad King authored
Since commit 84036d30 (IntelLLVM: Fix C/C++ standard level flags on Windows, 2021-07-07, v3.21.0-rc3~8^2~1) we activate C/C++ standard level logic for IntelLLVM when targeting the MSVC ABI. Update the `RunCMake.try_compile` test to be aware of this even when CMake is itself configured by an older CMake that does not know this.
-
- Jul 08, 2021
-
-
Brad King authored
-
2df4badc Help: Note PROJECT_IS_TOP_LEVEL behavior w.r.t. ExternalProject Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6307
-
Extend the documentation added by commit 96a70401 (project: Define variables indicating whether project is top level, 2021-03-24, v3.21.0-rc1~443^2) to give some examples of how the variables are set in each context.
-
d69b46bf Help: Document when CUDA_STANDARD values were added bdb59839 Help: Document when OBJCXX_STANDARD values were added 627aca94 Help: Document when OBJC_STANDARD values as definition list Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6321
-
bf810c75 IAR: Use placeholders in linker and archiver rules Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6322
-
Brad King authored
Note that some CUDA C++ language standard levels were added before any compilers actually supported them. In such cases, the value of `CUDA_STANDARD` gracefully degrades to the highest supported by the compiler (unless `CUDA_STANDARD_REQUIRED` is enabled). Therefore we can document support for each value based on when CMake learned of it.
-
Brad King authored
-
Brad King authored
-
Update the IAR linker and archiver rules to use the `<CMAKE_LINKER>` and `<CMAKE_AR>` placeholders instead of hard-coding the tool names. Fixes: #22395
-
266fc8ad FindCUDAToolkit: Properly document the version support Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6320
-
Brad King authored
-
018d300c Check*CompilerFlag: Do not set result as a normal variable too Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6318
-
Brad King authored
-
Brad King authored
Merge-request: !6318
-
Brad King authored
Merge-request: !6318
-
This was previously fixed by commit d4659091 (Check*CompilerFlag: Do not set result as a normal variable too, 2020-09-21, v3.18.3~1^2^2), but was regressed by refactoring in commit 90dead02 (CheckCompilerFlag: unified way to check compiler flags per language, 2020-09-25, v3.19.0-rc1~88^2) due to the changes being developed concurrently. Fix it again, and add a test case. Fixes: #21207
-
Brad King authored
-
13961f3b Merge branch 'backport-3.20-intel-oneapi-std-windows' 5115dd1e IntelLLVM: Fix C/C++ standard level flags on Windows 84036d30 IntelLLVM: Fix C/C++ standard level flags on Windows Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6319
-
- Jul 07, 2021
-
-
Robert Maynard authored
-
Brad King authored
Merge-request: !6319
-
Brad King authored
-
5650bebc Help: Note CXX_STANDARD values added vs. CMake version Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6305
-
0d54276c Correct CUDAToolkit_VERSION_MINOR variable name typo Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Raul Tambre <raul@tambre.ee> Merge-request: !6311
-
d9a3c9fa CMakePresets.json: Make --list-presets show presets with no generator Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6314
-
71a2664e Xcode: Ignore deprecated build system Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6309
-
- Jul 06, 2021
-
-
-
Kyle Edwards authored
Fixes: #22389
-
Brad King authored
-
6bc6ffb9 Merge branch 'backport-3.20-makefile-normalize-depfile' 6a6efdca Makefiles: Normalize compiler-generated depfile paths Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6297
-
46c89c77 gitlab-ci: Rename CI config variable to avoid conflict with CMAKE_BUILD_TYPE 3ede66e1 Tests: Fix newline matching in several RunCMake.* cases Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6298
-
Robert Maynard authored
-
Gregor Jasny authored
With Xcode 13 the key to suppress the check has changed. Tested with Xcode 12.5 and 13.0-beta2.
-
- Jul 05, 2021
-
-
24b76eaa Help: Improve readability and accuracy of runtime deps-related content 308e5b30 Help: Tighten install(SCRIPT) wording for ALL_COMPONENTS option 52dec017 Help: Add missing versionadded 3.21 for file(RENAME) options Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !6302
-
- Jul 04, 2021
-
-
Craig Scott authored
Duplicated textual patterns are factored out to make the text more readable. The POST_INCLUDE_FILES and POST_EXCLUDE_FILES were also previously missing from the main syntax block for install(RUNTIME_DEPENDENCY_SET).
-