summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | cmCustomCommand: Track main dependency explicitlyNAKAMURA Takumi2021-12-1414-60/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the main dependency as the first entry in the dependency list plus a boolean member indicating its existence. Note that this slightly changes existing behavior: the main dependency was previously the last entry of the dependency list.
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-151-1/+1
| | | | | | |
* | | | | | | Merge topic 'fix-list-transform-invalid-index-crashes'Brad King2021-12-141-2/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7dd3e99270 cmListCommand: Handle invalid FOR selector ranges Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6786
| * | | | | | | cmListCommand: Handle invalid FOR selector rangesNick Muggio2021-12-091-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes crashes involving invalid ranges specified in list(TRANSFORM ... FOR ...) calls. * Report error when step is not positive * Report error when start is after stop Fixes: #22985
* | | | | | | | CMake Nightly Date StampKitware Robot2021-12-141-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-131-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-121-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-111-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'msbuild-target-inputs-object-depends'Brad King2021-12-101-0/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abc6377469 VS: Add OBJECT_DEPENDS as AdditionalDependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6775
| * | | | | | VS: Add OBJECT_DEPENDS as AdditionalDependenciesDietmar Scheidl2021-12-091-0/+16
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fixes: #22733
* | | | | | Merge topic 'link-iface-usage-reqs-only'Brad King2021-12-104-53/+69
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e49880472 cmGeneratorTarget: Avoid boolean trap in usage requirement lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6796
| * | | | | | cmGeneratorTarget: Avoid boolean trap in usage requirement lookupBrad King2021-12-094-53/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace `bool usage_requirements_only` arguments with a proper enumeration to clarify meaning at call sites.
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-101-1/+1
| | | | | | |
* | | | | | | Merge topic 'ctest-add_subdirectory'Brad King2021-12-091-55/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c5a120c38 Tests: Add case covering both ctest subdirectory commands 04deda1d2a CTest: Extract common implementation of add_subdirectory and subdirs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6795
| * | | | | | | CTest: Extract common implementation of add_subdirectory and subdirsfriendlyanon2021-12-081-55/+38
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two functions have basically the same functionality in a CTest context, however the add_subdirectory implementation was missing code for changing the current working directory similarly to how it was done for subdirs. This commit extracts the common code and also fixes that bug. Issue: #22921
* | | | | | | Merge topic 'simplify-backtrace'Brad King2021-12-0919-217/+159
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61c46c95ae cmListFileContext: Simplify explicit rule-of-five members d0ceb409ff cmListFileBacktrace: Remove unused "Depth" method 7b677dbb92 cmListFileBacktrace: Remove unused "bottom" entry 56dc22d488 cmMessenger: Make relative path conversion more explicit c749982c13 cmTargetPropertyComputer: Simplify by restoring use of cmMakefile 3d378541bb cmMessenger: Adopt backtrace printing functions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6794
| * | | | | | | cmListFileContext: Simplify explicit rule-of-five membersBrad King2021-12-081-8/+12
| | | | | | | |
| * | | | | | | cmListFileBacktrace: Remove unused "Depth" methodBrad King2021-12-082-15/+0
| | | | | | | |
| * | | | | | | cmListFileBacktrace: Remove unused "bottom" entryBrad King2021-12-084-60/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All uses of `GetBottom` by clients have been removed, so drop the method and its supporting infrastructure.
| * | | | | | | cmMessenger: Make relative path conversion more explicitBrad King2021-12-083-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the decision to convert to call stacks to relative paths out to the client. Avoid using `cmState` to make the decision ourselves.
| * | | | | | | cmTargetPropertyComputer: Simplify by restoring use of cmMakefileBrad King2021-12-088-55/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Logically revert commit 390a7d8647 (cmTargetPropertyComputer: Implement GetProperty without cmMakefile, 2016-10-13, v3.8.0-rc1~445^2~9). It relied on using `cmListFileBacktrace` to get a scope in which to look up policies. This does remove a backtrace from `LOCATION` property errors at generate time, but the backtrace we reported before was incorrect. It pointed at the addition of a target, not to the reference to the property.
| * | | | | | | cmMessenger: Adopt backtrace printing functionsBrad King2021-12-089-80/+92
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move backtrace printing functions from `cmListFileBacktrace` over to `cmMessenger`, their primary caller. Thread `cmMessenger` instances through APIs needed to update other call sites.
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-091-1/+1
|/ / / / / /
* | | | | | CMake Nightly Date StampKitware Robot2021-12-081-1/+1
| | | | | |
* | | | | | Merge topic 'makefile-CMAKE_EXPORT_COMPILE_COMMANDS-HIP'Brad King2021-12-071-1/+1
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | b59f7600c4 HIP: Enable CMAKE_EXPORT_COMPILE_COMMANDS for HIP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6789
| * | | | | HIP: Enable CMAKE_EXPORT_COMPILE_COMMANDS for HIPBrad King2021-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22986
* | | | | | CMake Nightly Date StampKitware Robot2021-12-071-1/+1
| | | | | |
* | | | | | Merge topic 'vs-debugger-settings'Brad King2021-12-061-34/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19e37116cb VS: Move LocalDebugger* settings to the end of their PropertyGroup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6783
| * | | | | | VS: Move LocalDebugger* settings to the end of their PropertyGroupCedric Martineau2021-12-031-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define the settings after others like `OutDir` so that the latter can be referenced. Fixes: #18094
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-061-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-051-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-041-1/+1
|/ / / / /
* | | | | Merge topic 'vs-csproj-scripts'Brad King2021-12-034-26/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | 13a7ae2194 VS: Revert "Add missing label in C# project-build events" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6781
| * | | | VS: Revert "Add missing label in C# project-build events"Brad King2021-12-024-26/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit b284a21fee (VS: Add missing label in C# project-build events, 2021-09-03, v3.22.0-rc1~156^2). The change broke cases using multiple successful custom commands. Revert it pending further investigation into the interaction of the generated script code with `Microsoft.Common.CurrentVersion.targets`, and whether this is needed for all managed projects or just C# projects. Also add a test covering the case that was broken. Fixes: #22964 Issue: #21440
* | | | | CMake Nightly Date StampKitware Robot2021-12-031-1/+1
| | | | |
* | | | | Merge topic 'ifw-sign-installer'Brad King2021-12-023-0/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8e07a90c1 CPackIFW: add support for signing the generated app bundles on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6754
| * | | | | CPackIFW: add support for signing the generated app bundles on macOSErlend E. Aasland2021-11-223-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the CPACK_IFW_PACKAGE_SIGNING_IDENTITY CPackIFW variable. This variable mirrors the --sign option of the binarycreator tool. Fixes: #22927
* | | | | | Merge topic 'cleanup-ConvertToIncludeReference'Brad King2021-12-026-39/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 94a58e502b cmLocalGenerator: Remove unused IncludePathStyle infrastructure Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6777
| * | | | | | cmLocalGenerator: Remove unused IncludePathStyle infrastructureBrad King2021-12-016-39/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is unused since commit c564a3e3ff (Ninja: Always compile sources using absolute paths, 2021-05-19, v3.21.0-rc1~129^2), which left behind a FIXME comment to eventually remove it.
* | | | | | | Merge topic 'semi-warnings'Brad King2021-12-025-30/+29
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4b548c1028 Source: Fix -Wmissing-variable-declarations warning 29ffa5f48c Source: fix -Wextra-semi-stmt warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6758
| * | | | | | | Source: Fix -Wmissing-variable-declarations warningSean McBride2021-12-012-4/+3
| | | | | | | |
| * | | | | | | Source: fix -Wextra-semi-stmt warningsSean McBride2021-12-013-26/+26
| |/ / / / / /
* | | | | | | Merge topic 'vs-enum-class'Brad King2021-12-022-53/+58
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a80d95b114 cmVisualStudio10TargetGenerator: Change VsProjectType to be enum class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6776
| * | | | | | | cmVisualStudio10TargetGenerator: Change VsProjectType to be enum classSumit Bhardwaj2021-12-012-53/+58
| | | | | | | |
* | | | | | | | Merge topic 'rpath-unrecognized-format'Brad King2021-12-021-4/+21
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 643fc46bdc file(RPATH): Restore tolerance of unknown formats if new RPATH is empty 5596cba7dc cmSystemTools: Remove unnecessary mark-as-used casts to void Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6779
| * | | | | | | file(RPATH): Restore tolerance of unknown formats if new RPATH is emptyBrad King2021-12-011-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 2e1149874d (cmSystemTools: Support multiple binary formats, 2021-06-14, v3.22.0-rc1~575^2) the `file(RPATH_...)` operations fail on files that are not ELF or XCOFF format. Previously the RPATH operations tolerated files of unknown format if the goal was to produce a file with an empty RPATH. Restore this tolerance in order to support setting an empty RPATH on GNU ld scripts. Fixes: #22963
| * | | | | | | cmSystemTools: Remove unnecessary mark-as-used casts to voidBrad King2021-12-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `CheckRPath` arguments are always used now.
* | | | | | | | CMake Nightly Date StampKitware Robot2021-12-021-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge topic 'deps-quiet-rc'Brad King2021-12-011-1/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1336a76380 cmcldeps: Suppress rc dummy output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6771
| * | | | | | | cmcldeps: Suppress rc dummy outputOrgad Shaneh2021-11-291-1/+2
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384 Copyright (C) Microsoft Corporation. All rights reserved.