summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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-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.
* | | | | Merge topic 'mingw-strftime-crash'Brad King2021-12-011-1/+1
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | | | | | | | | | | 992e6d7c5d mingw: fix calling convention for strftime() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6762
| * | | mingw: fix calling convention for strftime()Christoph Reiter2021-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `strftime` uses `__cdecl` and not `__stdcall`. This was exposed by refactoring in commit 26c9fbab46 (MINGW-w64: Fix string(TIMESTAMP) build on 32bits, 2021-11-16, v3.22.0~1^2). This fixes a crash creating a timestamp with clang+mingw-w64 targeting x86. Fixes: #22939
* | | | CMake Nightly Date StampKitware Robot2021-12-011-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2021-11-301-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2021-11-291-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-11-281-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-11-271-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-11-261-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-11-251-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-11-241-1/+1
| | |
* | | Merge topic 'iwyu-windows'Brad King2021-11-2343-53/+315
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e58a5ea07 Source: Fix possible IWYU warnings in Windows generators Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6749
| * | | Source: Fix possible IWYU warnings in Windows generatorsNAKAMURA Takumi2021-11-1943-53/+315
| | | |
* | | | Merge topic 'env-init-configs'Brad King2021-11-232-2/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 5b1ed2a646 try_compile: Do not use CMAKE_BUILD_TYPE or CMAKE_CONFIGURATION_TYPES env vars Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6755
| * | | try_compile: Do not use CMAKE_BUILD_TYPE or CMAKE_CONFIGURATION_TYPES env varsBrad King2021-11-222-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since: * commit e216b9bbd3 (cmake: Allow CMAKE_BUILD_TYPE to be set by environment variable, 2021-06-29, v3.22.0-rc1~503^2~1) * commit ef56eefc9b (cmake: Allow CMAKE_CONFIGURATION_TYPES to be set by environment variable, 2021-06-29, v3.22.0-rc1~503^2) the environment variables are supposed to provide defaults for settings the user otherwise can control via cache entries. However, they accidentally affect `try_compile` projects too, which are supposed to be programmatically controlled. Fixes: #22935
| * | | CMake 3.22.0v3.22.0Brad King2021-11-181-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2021-11-231-1/+1
| | | |
* | | | Merge topic 'cpack-productbuild-identifier'Brad King2021-11-222-5/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7213ceb869 CPack/productbuild: Add option to customize product identifier Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6738
| * | | | CPack/productbuild: Add option to customize product identifierGreg Fiumara2021-11-182-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new option, CPACK_PRODUCTBUILD_IDENTIFIER, which allows for customization of the productbuild product identifier within the CPack productbuild generator. Fixes: #20830
* | | | | Merge topic 'automoc-cross-windows'Brad King2021-11-221-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e550ad02d AutoMoc: Only add the WIN32 define if the target system is Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6751
| * | | | | AutoMoc: Only add the WIN32 define if the target system is WindowsJoerg Bornemann2021-11-191-3/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there's no moc_predefs.h generated, we add the WIN32 define as fallback. Before this change, we added the WIN32 define if the host system was Windows. That's wrong when cross-compiling. Now we're checking whether the target system is Windows. Fixes: #22933
* | | | | CMake Nightly Date StampKitware Robot2021-11-221-1/+1
| | | | |