summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmQtAutoGenInitializer: Improve Const-CorrectnessOrkun Tokdemir2023-09-131-3/+4
|
* Autogen: Fix typoOrkun Tokdemir2023-09-131-4/+4
|
* cmCustomCommandGenerator: Fix GetInternalDepfile on moved instanceOrkun Tokdemir2023-09-132-9/+7
| | | | | | Previously the constructor captured `this` in a lambda used by the `GetInternalDepfile` method, but the pointer is invalidated when the instance moves.
* Merge topic 'ninja-cc-local'Brad King2023-09-132-9/+8
|\ | | | | | | | | | | | | 0f16ebf333 cmNinjaTargetGenerator: Reduce lifetime of custom command list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8800
| * cmNinjaTargetGenerator: Reduce lifetime of custom command listBrad King2023-09-122-9/+8
| | | | | | | | | | | | Since commit 2583eff6fe (ninja: Factor out custom command order-only depends, 2014-03-10, v3.1.0-rc1~559^2) we can store the list of custom commands in a local variable rather than a member.
* | Merge topic 'orkun_21677_16_06_2023'Brad King2023-09-131-6/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 09b650d000 Autogen: Move QtAutoMocDeps tests to RunCMake/Autogen ebc9e448b3 Autogen: Add depfile support for Makefiles e5358b9d8d RunCMake: Add RunCMake_TEST_NOT_EXPECT variables Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8570
| * | Autogen: Add depfile support for MakefilesOrkun Tokdemir2023-09-111-6/+11
| | | | | | | | | | | | Fixes: #21677
* | | Merge topic 'automoc-macro-names'Brad King2023-09-131-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42adf3cba8 Autogen: Evaluate INTERFACE_AUTOMOC_MACRO_NAMES efficiently Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8799
| * | | Autogen: Evaluate INTERFACE_AUTOMOC_MACRO_NAMES efficientlyBrad King2023-09-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit c5c3aff1f5 (Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property, 2023-04-03, v3.27.0-rc1~197^2) we forgot to mark the property as a usage requirement. This is needed for efficient evaluation over the target dependency closure. Fixes: #25238
* | | | CMake Nightly Date StampKitware Robot2023-09-131-1/+1
| |_|/ |/| |
* | | Merge topic 'presets-schema'Brad King2023-09-124-2/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f1a7179520 presets: Add $schema property to JSON schema f83771dfce presets: Add missing spaces in JSON schema Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8777
| * | | presets: Add $schema property to JSON schemaChenMoFeiJin2023-09-124-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Many modern code editors have support for JSON Schema. When you specify the `$schema` property in a JSON file, the editor can provide features like auto-completion, error checking, etc., which can improve your efficiency when writing and modifying the `CMakePresets.json` file.
* | | | Merge topic 'vs-cuda-object-libs'Brad King2023-09-121-1/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 6ebff6ebf8 VS: Avoid unnecessary CUDA device linking for OBJECT libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8794
| * | | VS: Avoid unnecessary CUDA device linking for OBJECT librariesRobert Maynard2023-09-111-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Without `CudaLink` fields, MSBuild tries to perform a device link step for object libraries with CUDA_SEPARABLE_COMPILATION on them even when not needed. This commonly was encountered when generating PTX or OPTIX-IR output.
* | | | Merge topic 'pch-reuse-pdb-dependency'Brad King2023-09-122-6/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37d994294b PCH: Add missing dependency of REUSE_FROM shared compiler PDB Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8787
| * | | | PCH: Add missing dependency of REUSE_FROM shared compiler PDBRussell Greene2023-09-112-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have the `copy_pdb_idb` script depend on the PCH file so that the shared compiler PDB is updated when the PCH is rebuilt. Fixes: #25240
* | | | | Merge topic 'ninja-cmd'Brad King2023-09-123-1/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ebf0e1a46 Ninja: Use absolute path to COMSPEC if possible Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8747
| * | | | | Ninja: Use absolute path to COMSPEC if possiblescivision2023-09-113-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the COMSPEC is set to an absolute path, use it instead of just `cmd.exe`. This avoids searching for the tool in the current working directory and the `PATH`. If COMSPEC is not set to an absolute path, fall back to the existing behavior. Issue: #18350
* | | | | | CMake Nightly Date StampKitware Robot2023-09-121-1/+1
| | | | | |
* | | | | | Merge topic 'host-msystem-prefix'Brad King2023-09-111-10/+106
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84a25fc263 cmake_host_system_information: Add MSYSTEM_PREFIX query cdcff0a0f0 cmCMakeHostSystemInformationCommand: Clarify function names and roles Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8788
| * | | | | cmake_host_system_information: Add MSYSTEM_PREFIX queryBrad King2023-09-101-0/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a query on Windows hosts for the installation prefix of a MSYS or MinGW development environment. Issue: #24216
| * | | | | cmCMakeHostSystemInformationCommand: Clarify function names and rolesBrad King2023-09-091-10/+9
| |/ / / /
* | | | | Merge topic 'fix-win-dbg-msg'Brad King2023-09-112-1/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd46ecad19 Debugger: Fix pipe connection error message construction on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8785
| * | | | | Debugger: Fix pipe connection error message construction on WindowsWilliam R. Dieter2023-09-082-1/+18
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding an integer to a C string does pointer math, rather than converting to string. Instead convert the result of `GetLastError` to string before adding it to the error message. This problem was accidentally introduced by commit 8b1257e7bf (Debugger: Replace libuv with platform-specific connection code, 2023-07-29). Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* | | | | CMake Nightly Date StampKitware Robot2023-09-111-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-09-101-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2023-09-091-1/+1
|/ / /
* | | Merge topic 'ctest_submit_follow_redirects'Brad King2023-09-081-0/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 26ce8dc290 ctest: Restore support for http redirects during Submit step Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8782
| * | ctest: Restore support for http redirects during Submit stepZack Galbreath2023-09-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After CDash PR 1519 introduced HTTP status codes greater than 200 for various error cases, CMake commit b7c871f745 (ctest: Update ctest_submit for CDash behavior change, 2023-07-24, v3.27.1~3^2) modified CTest's submit handler to check the status returned by CDash and throw an error when this status is not equal to 200. That change had the unintended side effect of causing CTest submissions to fail when uploading results to a URL that returns a redirect status code (3xx). Fix this by configuring cURL to follow the redirect. The status cURL reports to CTest is now 200 instead of 3xx when CDash is located behind a redirect. Fixes: #25159
* | | CMake Nightly Date StampKitware Robot2023-09-081-1/+1
| |/ |/|
* | CMake Nightly Date StampKitware Robot2023-09-071-1/+1
| |
* | Merge topic 'replace-cmsysprocess-with-cmuvprocesschain'Brad King2023-09-0631-1181/+1227
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a5f98df778 Source: Fix mysterious new IWYU warnings 0712e3cfea cmCTestCoverageHandler: Replace cmsysProcess with cmUVProcessChain 96b3dd329e cmCTestLaunchReporter: Replace cmsysProcess with cmUVProcessChain b15ad7ebb6 cmCTest: Replace cmsysProcess with cmUVProcessChain 50a6e78a82 cmSystemTools::RunSingleCommand(): Replace cmsysProcess with cmUVProcessChain 49a37d5a97 cmCTestScriptHandler: Replace cmsysProcess with cmUVProcessChain bc702aa97e cmcmd: Replace cmsysProcess with cmUVProcessChain ec124582ac cmProcessTools::RunProcess(): Replace cmsysProcess with cmUVProcessChain ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8665
| * | Source: Fix mysterious new IWYU warningsKyle Edwards2023-08-293-0/+10
| | |
| * | cmCTestCoverageHandler: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-291-93/+18
| | |
| * | cmCTestLaunchReporter: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-296-226/+256
| | | | | | | | | | | | And convert cmCTestLaunch and cmCTestBuildHandler too.
| * | cmCTest: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-294-216/+246
| | |
| * | cmSystemTools::RunSingleCommand(): Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-293-90/+116
| | | | | | | | | | | | And pass OUTPUT_PASSTHROUGH in one call where it was missing.
| * | cmCTestScriptHandler: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-293-65/+123
| | | | | | | | | | | | And update cmSystemTools::WaitForLine() to use cmUVProcessChain.
| * | cmcmd: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-291-38/+32
| | |
| * | cmProcessTools::RunProcess(): Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-2913-264/+233
| | | | | | | | | | | | And convert the VCS code to std::vector<std::string>.
| * | cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChainKyle Edwards2023-08-291-190/+194
| | |
* | | Merge topic 'xcode-no-legacy-buildsystem'Brad King2023-09-061-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b78a14e204 Xcode: reject legacy buildsystem for Xcode 14 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8762
| * | | Xcode: reject legacy buildsystem for Xcode 14Gregor Jasny2023-08-311-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With Xcode 14 support for the Legacy Build System has been removed and the BuildSystemType in the WorkspaceSettings is ignored. If CMake still generates projects targeted to the Lecacy Build System the build preparation phase will likely fail because Xcode for example misses any declared outputs from script invocations. This is a hard to debug problem and CMake should reject the invalid configuration instead.
* | | | Merge topic 'reduce-sign-conversion-warnings'Brad King2023-09-062-6/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b3464320f Reduce sign conversion warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8769
| * | | | Reduce sign conversion warningsMatthew Woehlke2023-08-292-6/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some static casts to make explicit some sign conversions in order to avoid warnings about the same. This is by no means an attempt to fix all such warnings, but these instances were especially egregious as they would be raised across many source files. Also change a post-increment of an iterator to pre-increment. At worst, this does nothing, but pre-increment is potentially more efficient.
* | | | Merge topic 'fortran-object-libraries'Brad King2023-09-063-2/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 045d8eca6c Merge branch 'fortran-object-libraries-release' into fortran-object-libraries 74b1d6caf3 cmComputeLinkInformation: compute link info for module-using targets 6251edaed1 cmGeneratorTarget: support config-independent Fortran source queries Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8772
| * \ \ \ Merge branch 'fortran-object-libraries-release' into fortran-object-librariesBen Boeckel2023-09-053-2/+15
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | * fortran-object-libraries-release: cmComputeLinkInformation: compute link info for module-using targets cmGeneratorTarget: support config-independent Fortran source queries
| | * | | cmComputeLinkInformation: compute link info for module-using targetsBen Boeckel2023-09-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Targets which contain C++ module or Fortran sources need to participate in link information unconditionally regardless of whether they actually have link artifacts or not. Fixes: #25223
| | * | | cmGeneratorTarget: support config-independent Fortran source queriesBen Boeckel2023-09-052-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Some locations care about "any config with Fortran", so make a query for such (they may not know any configuration names themselves).
* | | | | CMake Nightly Date StampKitware Robot2023-09-061-1/+1
|/ / / /