summaryrefslogtreecommitdiff
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-04-211-1/+1
| |/ / / |/| | |
* | | | Merge topic 'GenEx-list'Marc Chevrier2023-04-202-18/+715
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 31675964e7 GenEx LIST: list operations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8410
| * | | | GenEx LIST: list operationsMarc Chevrier2023-04-162-18/+715
| | |/ / | |/| | | | | | | | | | Fixes: #24550, #24547
* | | | CMake Nightly Date StampKitware Robot2023-04-201-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-04-191-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-04-181-1/+1
| | | |
* | | | Merge topic 'export-file-set-old-cmake-versions'Craig Scott2023-04-171-1/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42e5be8cef install(EXPORT): Fall back to set_property(APPEND) for FILE_SET Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8408
| * | | | install(EXPORT): Fall back to set_property(APPEND) for FILE_SETKyle Edwards2023-04-121-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FILE_SET was introduced in CMake 3.23, so install(EXPORT) puts it behind a version gate. However, this results in the include directories not being picked up by older versions of CMake. Fall back to set_property(APPEND) for versions of CMake older than 3.23. Fixes: #24787
* | | | | CMake Nightly Date StampKitware Robot2023-04-171-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-04-161-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-04-151-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-04-141-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-04-131-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2023-04-121-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2023-04-111-1/+1
| | |
* | | Merge topic 'automoc-macro-names'Craig Scott2023-04-1010-199/+299
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5c3aff1f5 Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property 69cf9700e6 Autogen: Defer setup until Generate step 7cecb6353e cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructure 2daba01ddf cmGeneratorTarget: Avoid incidental include-what-you-use warning 850b4d990c IWYU: Add mapping for 'std::remove_reference<Defer &>::type' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8391
| * | | Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target propertyOrkun Tokdemir2023-04-093-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add this target property to specify macro names that propagate to dependents as `AUTOMOC_MACRO_NAMES`. The dependents will automatically generate MOC files for source files that contain the inherited macro names. Co-Authored-By: Craig Scott <craig.scott@crascit.com> Fixes: #19679
| * | | Autogen: Defer setup until Generate stepOrkun Tokdemir2023-04-052-8/+20
| | | | | | | | | | | | | | | | It is better to set variables up once all target dependencies are known.
| * | | cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructureOrkun Tokdemir2023-04-055-189/+252
| | | | | | | | | | | | | | | | | | | | Make it available outside the `cmGeneratorTarget` implementation. In particular, we will later use it in `cmQtAutoGenInitializer`.
| * | | cmGeneratorTarget: Avoid incidental include-what-you-use warningBrad King2023-04-051-2/+2
| | | | | | | | | | | | | | | | Avoid `warning: Extra tokens on pragma line` from IWYU.