summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2023-05-051-1/+1
|
* Merge topic 'use-linker-depfile'Brad King2023-05-0421-43/+214
|\ | | | | | | | | | | | | | | 375e6fdbbe Link step: use linker dependency linker file 24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8443
| * Link step: use linker dependency linker fileMarc Chevrier2023-05-0318-12/+182
| | | | | | | | | | | | Based on work done by @ben.boeckel (!8051) Fixes: #22217
| * cmLocalGenerator::MayBeRelativeToWorkDir: take care of all casesMarc Chevrier2023-05-027-31/+32
| |
* | Merge topic 'autogen-system-include'Brad King2023-05-045-1/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 7bf4e30090 Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not set 033dc7ee2f Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target property 8ba16db163 Tests/RunCMake: Add option for dynamic expected output Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8400
| * | Autogen: Default AUTOGEN_USE_SYSTEM_INCLUDE to ON if it is not setOrkun Tokdemir2023-05-032-1/+16
| | | | | | | | | | | | Add policy CMP0151 to preserve the old behavior by default.
| * | Autogen: Add AUTOGEN_USE_SYSTEM_INCLUDE target propertyOrkun Tokdemir2023-05-034-1/+40
| | | | | | | | | | | | | | | | | | | | | `AUTOGEN_USE_SYSTEM_INCLUDE` was added. `AUTOGEN_USE_SYSTEM_INCLUDE` is a boolean property that can be set on a target to indicate that the autogen target include directory should be added as a system include directory or normal include directory to the target.
* | | CMake Nightly Date StampKitware Robot2023-05-041-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-05-031-1/+1
| |/ |/|
* | Merge topic 'vs-debugger-init'Brad King2023-05-021-0/+4
|\ \ | | | | | | | | | | | | | | | | | | 35566b48b4 VS: Add variables to initialize debugger-related properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8445
| * | VS: Add variables to initialize debugger-related propertiesAlex Neundorf2023-05-011-0/+4
| | | | | | | | | | | | | | | | | | Add variables to initialize target properties `VS_DEBUGGER_COMMAND`, `VS_DEBUGGER_COMMAND_ARGUMENTS`, `VS_DEBUGGER_ENVIRONMENT`, and `VS_DEBUGGER_WORKING_DIRECTORY`.
* | | CMake Nightly Date StampKitware Robot2023-05-021-1/+1
| | |
* | | Merge topic 'CMake-uses-cmList-class'Brad King2023-05-0162-616/+609
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 241304190f CMake code rely on cmList class for CMake lists management (part. 2) 87fe031a07 cmList class: various enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8441
| * | | CMake code rely on cmList class for CMake lists management (part. 2)Marc Chevrier2023-04-2959-496/+398
| | | |
| * | | cmList class: various enhancementsMarc Chevrier2023-04-297-123/+214
| | | |
* | | | Merge topic 'cpack-inno-setup'Brad King2023-05-014-0/+1281
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d6db66179 CPack: Add Inno Setup generator 9b0dc652ff ci: Provide Inno Setup tools to some Windows CI jobs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8399
| * | | | CPack: Add Inno Setup generatorJannik Alber2023-04-284-0/+1281
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-05-011-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-04-301-1/+1
| |_|/ / |/| | |
* | | | CMake Nightly Date StampKitware Robot2023-04-291-1/+1
| |/ / |/| |
* | | Merge topic 'ignore_unity_suspicious_include'Brad King2023-04-281-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 485256f2d0 Unity: Suppress clang-tidy 'bugprone-suspicious-include' warning Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8437
| * | | Unity: Suppress clang-tidy 'bugprone-suspicious-include' warningSylvain Joubert2023-04-271-0/+1
| |/ / | | | | | | | | | | | | | | | Unity builds intentionally include entire source files. Fixes: #24857
* | | CMake Nightly Date StampKitware Robot2023-04-281-1/+1
|/ /
* | Merge topic 'ninja-nvhpc-fortran-Werror'Brad King2023-04-271-23/+2
|\ \ | |/ |/| | | | | | | | | 0f6a1dd3ed Ninja: Revert "Exclude NVHPC -Werror flags during Fortran preprocessing" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8435
| * Ninja: Revert "Exclude NVHPC -Werror flags during Fortran preprocessing"Brad King2023-04-261-23/+2
| | | | | | | | | | | | | | | | | | Revert commit 6b58cdd4cf (Ninja: Exclude NVHPC -Werror flags during Fortran preprocessing, 2023-04-04). Since commit 9d40f01442 (NVHPC: Use -Werror for COMPILE_OPTIONS_WARNING_AS_ERROR, 2023-04-13), `nvfortran` can handle the plain `-Werror` flag during preprocessing. Issue: #24665
* | Merge topic 'ExternalProject-relative-git-urls'Craig Scott2023-04-271-1/+6
|\ \ | | | | | | | | | | | | | | | | | | 550f63447d ExternalProject/FetchContent: Support relative remote URLs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7988
| * | ExternalProject/FetchContent: Support relative remote URLsChris Wright2023-04-261-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Teach `ExternalProject_Add` and `FetchContent_Declare` to resolve relative remote URLs provided via `GIT_REPOSITORY`. Add policy CMP0150 to maintain compatibility. Fixes: #24211 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | | Merge topic 'vs-show-cmake-files'Brad King2023-04-273-13/+86
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | df58dbb0e9 VS: Add CMake input files to ZERO_CHECK 659e9ae937 cmGlobalVisualStudio8Generator: Collect CMake input files earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8260
| * | | VS: Add CMake input files to ZERO_CHECKAlexander Neundorf2023-04-253-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add all cmake input files to the `ZERO_CHECK` project. Place files under `CMAKE_SOURCE_DIR` in a folder structure matching the directory structure. This way they are easier to find, and Visual Studio does not close them when reloading the project. Fixes: #24557
| * | | cmGlobalVisualStudio8Generator: Collect CMake input files earlierAlexander Neundorf2023-04-251-12/+11
| | | |
* | | | Merge topic 'fix-short-path'Brad King2023-04-271-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a368a59467 Windows: Tolerate GetShortPathNameW failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8432
| * | | | Windows: Tolerate GetShortPathNameW failureOldřich Jedlička2023-04-261-1/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function is used by NMake Makefile generator, but when shortening path fails, it previously returned an empty string. `ERROR_ACCESS_DENIED` is returned for paths within `C:\Program Files\WindowsApps`, which is a special folder with limited access rights. It looks like this is [by design](https://superuser.com/a/1730061/213587). Fixes: #24853
* | | | Merge topic 'preset-includes-macro-expansion'Brad King2023-04-273-19/+57
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f552ba6e6d presets: add support for macro expansion to includes 1df24df01f presets: Fix encoding of env/penv macro expansion on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8255
| * | | | presets: add support for macro expansion to includesZoran Angelov2023-04-263-15/+54
| | | | | | | | | | | | | | | | | | | | Only `$penv{}` can be expanded when processing includes.
| * | | | presets: Fix encoding of env/penv macro expansion on WindowsBrad King2023-04-261-4/+3
| |/ / / | | | | | | | | | | | | | | | | Look up environment variables using a wide-character API on Windows, and convert their value to our internal UTF-8 encoding.
* | | | CMake Nightly Date StampKitware Robot2023-04-271-1/+1
| |_|/ |/| |
* | | Merge topic 'iwyu_errors'Brad King2023-04-261-3/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fcacc319d9 IWYU: Return error code if user enables error reporting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8406
| * | | IWYU: Return error code if user enables error reportingAshish Sadanandan2023-04-251-3/+10
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously CMake ignored the return code from iwyu because old versions of the tool would exit with an error code even when no header include violations were detected. The iwyu project has since changed this behavior, so the tool no longer returns an error code unless the user enables error reporting via command line arguments. Behavior seen with iwyu version 0.19 Source file with missing includes: - Case 1: iwyu arguments: - return code: 0 - output: <report of all missing includes> - Case 2: iwyu arguments: `-Xiwyu --error` - return code: 1 - output: <report of all missing includes> Source file with no missing includes: - Case 1: iwyu arguments: - return code: 0 - output: `(/path/to/file.cc has correct #includes/fwd-decls)` - Case 2: iwyu arguments: `-Xiwyu --error` - return code: 0 - output: `(/path/to/file.cc has correct #includes/fwd-decls)` Teach CMake to return the iwyu return code if the user has invoked the tool with any of these command line arguments included: - `--error[=N]` - `--error_always[=N]` Fixes: #24066
* | | Merge topic 'update-libarchive'Brad King2023-04-261-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ba5ced1be6 libarchive: Set build options the way we need for CMake 1e2bce305f Merge branch 'upstream-LibArchive' into update-libarchive e468170731 LibArchive 2022-12-09 (ba80276c) 744a42c0ee libarchive: Update script to get 3.6.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8431
| * | | libarchive: Set build options the way we need for CMakeBrad King2023-04-251-1/+1
| | |/ | |/|
* | | CMake Nightly Date StampKitware Robot2023-04-261-1/+1
|/ /
* | Merge topic 'CMake-uses-cmList-class'Brad King2023-04-2577-455/+438
|\ \ | | | | | | | | | | | | | | | | | | | | | e08ba229ee CMake code rely on cmList class for CMake lists management (part. 1) 51b0d45d91 cmExpandList and cmExpandLists rely on cmList class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8423
| * | CMake code rely on cmList class for CMake lists management (part. 1)Marc Chevrier2023-04-2476-380/+372
| | |
| * | cmExpandList and cmExpandLists rely on cmList classMarc Chevrier2023-04-233-75/+66
| | |
* | | CMake Nightly Date StampKitware Robot2023-04-251-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-04-241-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-04-231-1/+1
| | |
* | | Merge topic 'Link_instruction_in_RSP'Marc Chevrier2023-04-222-5/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0364eb20d Add support of CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_LIBRARIES variable. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8409
| * | | Add support of CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_LIBRARIES variable.Matthieu Ribiere2023-04-132-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | We add a function in cmNinjaNormalTargetGenerator.cxx to check for the state of the option (as it was done for Makefile). This will be checked to add or not the `$LINK_PATH` and `$LINK_LIBRARIES` to the Ninja file. The default behavior is adding those libraries. Fixes: #24681
* | | | CMake Nightly Date StampKitware Robot2023-04-221-1/+1
| | | |