summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'lcc-cleanup'Brad King2022-10-141-0/+7
|\ | | | | | | | | | | | | | | 2de1458c3c Tests: Teach CheckSourceTree test to clean up some specific known files 0dfd939077 cmFindPackageCommand: Suppress LCC false-positive warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7790
| * cmFindPackageCommand: Suppress LCC false-positive warningBrad King2022-10-131-0/+7
| | | | | | | | | | | | | | Extend the LCC warning suppression from commit 08e7fb3cfa (cmFindPackageCommand: Compile-time path generator expressions, 2022-07-05, v3.25.0-rc1~361^2~5) to cover a new number for the same warning, now produced by LCC 1.26.15.
* | CMake Nightly Date StampKitware Robot2022-10-141-1/+1
|/
* Merge topic 'post-rel-dev'Brad King2022-10-132-4/+4
|\ | | | | | | | | | | | | | | | | | | 5f998bbcb3 Configure CMake itself with policies through CMake 3.24 6bd18eed8e export: Increase maximum policy version in exported files to 3.24 c0e8bb5150 Add deprecation warnings for policies CMP0108 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7786
| * export: Increase maximum policy version in exported files to 3.24Brad King2022-10-121-2/+2
| | | | | | | | | | | | The files generatd by `install(EXPORT)` and `export()` commands are known to work with policies as of CMake 3.24, so enable them in sufficiently new CMake versions.
| * Add deprecation warnings for policies CMP0108 and belowBrad King2022-10-121-2/+2
| | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.18 and below to encourage projects to port away from setting policies to OLD.
* | CMake Nightly Date StampKitware Robot2022-10-131-1/+1
|/
* CMake Nightly Date StampKitware Robot2022-10-121-1/+1
|
* Begin post-3.25 developmentBrad King2022-10-111-2/+2
|
* Begin 3.25 release versioningBrad King2022-10-111-3/+3
|
* CMake Nightly Date StampKitware Robot2022-10-111-1/+1
|
* Merge topic 'verify-header-sets-iwyu'Brad King2022-10-101-1/+5
|\ | | | | | | | | | | | | | | 6942234bf5 VERIFY_INTERFACE_HEADER_SETS: Add IWYU pragma: associated to verification file Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7762
| * VERIFY_INTERFACE_HEADER_SETS: Add IWYU pragma: associated to verification fileDaniel Hannon2022-10-071-1/+5
| |
* | Merge topic 'cuda_sanitizer_false_positives'Brad King2022-10-101-4/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | 59fcbba65e ctest_memcheck: ignore false-positives in CUDA's compute-sanitizer Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7760
| * | ctest_memcheck: ignore false-positives in CUDA's compute-sanitizerTobias Ribizel2022-10-071-4/+17
| | | | | | | | | | | | | | | | | | | | | Add a list of false-positive messages from CUDA's compute-sanitizer to the CTest memcheck. Fixes: #24001
* | | Merge topic 'Intel-Fortran-warn-errors'Brad King2022-10-101-3/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13f3382b1c Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag ab8a0a106e COMPILE_WARNING_AS_ERROR: Fix internal formatting of options table Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7758
| * | | COMPILE_WARNING_AS_ERROR: Fix internal formatting of options tableBrad King2022-10-071-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 76a08cd253 (COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errors, 2022-04-21, v3.24.0-rc1~173^2) we formatted the options table entries as command-line string fragments. Since they are part of the `CMAKE_${lang}_COMPILE_OPTIONS_*` tables, they should be formatted as `;`-separated lists of compiler options.
* | | | CMake Nightly Date StampKitware Robot2022-10-101-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-10-091-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-10-081-1/+1
| |_|/ |/| |
* | | Merge topic 'clang-tidy-prefer-p-option'Brad King2022-10-071-7/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3f4e0839c4 clang-tidy: Don't append compiler commands if using -p Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7753
| * | | clang-tidy: Don't append compiler commands if using -pCraig Scott2022-10-071-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the -p option is given to clang-tidy, it doesn't need the compile command line to be appended. It can get everything it needs from the compile_commands.json file in the directory specified with the -p option. When the compiler being used is not the system default compiler, clang-tidy has been observed to pick up the wrong headers when the compiler command line is given, but not if only the -p option is used. Therefore, don't append the compiler command line if -p is present in the <LANG>_CLANG_TIDY target property. Fixes: #24017
* | | | Merge topic 'improve-symlink-error-reporting'Brad King2022-10-075-42/+82
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 569fb1893e file(INSTALL): Report "Installing:" for a symlink to a directory 1461ae4933 file(INSTALL): Clarify symlink vs dir conflict errors 85f01a1ec2 file(INSTALL): Improve formatting of symlink creation error aba48bd6ac cmSystemTools: Provide quiet link creation methods Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7706
| * | | | file(INSTALL): Report "Installing:" for a symlink to a directoryJohn Parent2022-10-061-1/+4
| | | | |
| * | | | file(INSTALL): Clarify symlink vs dir conflict errorsJohn Parent2022-10-061-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Clarify error reporting in scenario creating a symlink where a directory previously exists.
| * | | | file(INSTALL): Improve formatting of symlink creation errorBrad King2022-10-061-11/+13
| | | | | | | | | | | | | | | | | | | | Avoid printing two error messages. Format paths without wrapping.
| * | | | cmSystemTools: Provide quiet link creation methodsBrad King2022-10-064-30/+50
| | |_|/ | |/| | | | | | | | | | Offer variants that let the caller handle error messages.
* | | | Merge topic 'automoc-skip-pch'Brad King2022-10-072-2/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 681714ce20 AUTOMOC: Skip PCH when all sources files skip the PCH file too Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7759
| * | | | AUTOMOC: Skip PCH when all sources files skip the PCH file tooCristian Adam2022-10-062-2/+22
| |/ / / | | | | | | | | | | | | Fixes: #23464
* | | | CMake Nightly Date StampKitware Robot2022-10-071-1/+1
|/ / /
* | | Merge topic 'try_compile-more-debug-logging'Brad King2022-10-061-0/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 7e6b2a92a0 try_compile: Report build dir with --debug-trycompile cbf3252975 Tests: Remove stray debugging flag from RunCMake.CheckCompilerFlag case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7746
| * | try_compile: Report build dir with --debug-trycompileMatthew Woehlke2022-10-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | When `--debug-trycompile` is enabled, issue a log (with trace) for every `try_compile` noting what directory is being used for the compilation. This will make it easier to find the corresponding artifacts. Closes: #24022
* | | Merge topic 'self-target_sources'Brad King2022-10-062-13/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 440822fa5c Source: Fix regression causing CMakeLib sources to be compiled repeatedly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7748
| * | | Source: Fix regression causing CMakeLib sources to be compiled repeatedlyBrad King2022-10-052-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 4ff8604604 (Build: Do not use variables for sources lists, 2022-08-21) the sources of `CMakeLib` were accidentally made PUBLIC. This causes them to be compiled again in all consuming targets. Make the sources PRIVATE instead.
* | | | CMake Nightly Date StampKitware Robot2022-10-061-1/+1
|/ / /
* | | CMake Nightly Date StampKitware Robot2022-10-051-1/+1
|/ /
* | Merge topic 'try_compile-rename-source_from_arg'Brad King2022-10-042-10/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | 0f28653ba9 try_compile: Rename SOURCE_FROM_ARG -> SOURCE_FROM_CONTENT Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7733
| * | try_compile: Rename SOURCE_FROM_ARG -> SOURCE_FROM_CONTENTMatthew Woehlke2022-09-302-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change the SOURCE_FROM_ARG keyword to try_compile to SOURCE_FROM_CONTENT (which we can do because it was recently added and hasn't been in a release yet). The new name should be clearer as to what it does, and also more consistent with the CONTENT arguments to some other commands. Also, fix a typo in an error message.
* | | CMake Nightly Date StampKitware Robot2022-10-041-1/+1
| | |
* | | Merge topic 'ci-xcode-14.0'Brad King2022-10-031-2/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | 9cdf4c9be4 gitlab-ci: update macOS jobs to use Xcode 14.0 5d2c2b2558 Tests: Update RunCMake.XcodeProject iOS cases for Xcode 14.0 12c6fec6b4 Xcode: Drop CMAKE_INTDIR= definition in Swift targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7732
| * | Xcode: Drop CMAKE_INTDIR= definition in Swift targetsBrad King2022-09-301-2/+7
| | | | | | | | | | | | | | | Xcode 14.0 warns that Swift doesn't support definition values. Therefore `CMAKE_INTDIR` is not useful to Swift sources. Drop it.
* | | CMake Nightly Date StampKitware Robot2022-10-031-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-10-021-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-10-011-1/+1
| | |
* | | Merge topic 'xcode-build-layout'Brad King2022-09-303-48/+23
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0a6ebf57b Xcode: Fix "clean" operation under the "new build system" dc5fc898f6 Xcode: Set object file locations using TARGET_TEMP_DIR a7fb4bc475 Xcode: Set build product locations using CONFIGURATION_BUILD_DIR 6883b82124 cmGlobalXCodeGenerator: Remove unused local variable settings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7730
| * | | Xcode: Fix "clean" operation under the "new build system"Brad King2022-09-291-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we set `SYMROOT` to tell Xcode where to place the build products. However, the "clean" operation in the Xcode "new build system" expects that only Xcode creates the `SYMROOT` directory or contents inside it. Since we create that directory, "clean" fails. We now explicitly set `CONFIGURATION_BUILD_DIR` and `TARGET_TEMP_DIR` instead of letting Xcode compute their values from `SYMROOT`, so we no longer need to set the latter. Drop the now-unnecessary `SYMROOT`. Fixes: #22550
| * | | Xcode: Set object file locations using TARGET_TEMP_DIRBrad King2022-09-293-34/+12
| | | | | | | | | | | | | | | | | | | | | | | | This avoids relying on `SYMROOT` to locate the object files. Issue: #22550
| * | | Xcode: Set build product locations using CONFIGURATION_BUILD_DIRBrad King2022-09-291-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 59a2265576 (Xcode: Use EFFECTIVE_PLATFORM_NAME reference in ComputeOutputDir, 2011-08-12, v2.8.6~43^2~1) we can now set the build products path using `CONFIGURATION_BUILD_DIR` unconditionally because we compute the correct value even when using `EFFECTIVE_PLATFORM_NAME`. This avoids relying on `SYMROOT` to locate the build products. Issue: #22550
| * | | cmGlobalXCodeGenerator: Remove unused local variable settingsBrad King2022-09-291-4/+0
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-09-301-1/+1
| |_|/ |/| |