summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | CMake Nightly Date StampKitware Robot2022-01-041-1/+1
| | | | | |
* | | | | | Merge topic 'cmMachO_h_missing_header'Craig Scott2022-01-031-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1ca50d9fc cmMachO: Add missing header for std::unique_ptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6835
| * | | | | | cmMachO: Add missing header for std::unique_ptrCraig Scott2022-01-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Builds were previously relying on <memory> being included by <string>, but not all compilers do that and we shouldn't be relying on that anyway.
* | | | | | | CMake Nightly Date StampKitware Robot2022-01-031-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2022-01-021-1/+1
|/ / / / / /
* | | | | | CMake Nightly Date StampKitware Robot2022-01-011-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-311-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-301-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-291-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-281-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-271-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-261-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-251-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-241-1/+1
| |/ / / / |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2021-12-231-1/+1
| | | | |
* | | | | Merge topic 'vs-csharp-dotnet-sdk'Brad King2021-12-226-53/+222
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0eea32a376 VS: Add DOTNET_SDK property to generate SDK-style C# projects a450cc9533 VS: Set ResolveNugetPackages to false for ALL_BUILD and ZERO_CHECK fa76e5d194 cmVisualStudio10TargetGenerator: Factor out helper for classic MSBuild project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6634
| * | | | | VS: Add DOTNET_SDK property to generate SDK-style C# projectsSumit Bhardwaj2021-12-216-3/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in cmVisualStudio10TargetGenerator::Generate to write .Net SDK-style project for VS generators VS 19 and above. Also adds documentation and tests. Issue: #20227
| * | | | | VS: Set ResolveNugetPackages to false for ALL_BUILD and ZERO_CHECKSumit Bhardwaj2021-12-151-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When SDK-style targets in a project are restored, ResolveNugetPackageAssets target is not skipped. However, ALL_BUILD and ZERO_CHECK do not have any nuget packages to resolve and the build fails. This commit sets ResolveNugetPackages to false which skips the target and the build succeeds.
| * | | | | cmVisualStudio10TargetGenerator: Factor out helper for classic MSBuild projectSumit Bhardwaj2021-12-152-52/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation for generating .Net SDK style project, refactor cmVisualStudio10TargetGenerato::Generate to split the functionality to write classic MSBuild project file. This commit only introduces a helper function and moves the functionality there. A later commit will add WriteSdkStyleProjectFile, the call to it, and the rest of the .Net SDK-style changes.
* | | | | | Merge topic 'cpack-freebsd-pkg'Brad King2021-12-221-11/+132
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c3715e08e4 FreeBSD: tidy up a76f19d5e8 FreeBSD: handle new package-file-suffix d5ae2f9754 FreeBSD: fix up the package name 0ac1ac798e FreeBSD: migrate to newer pkg_create(3) API Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Semphriss <dev.semphris@gmail.com> Merge-request: !5854
| * | | | | | FreeBSD: tidy upAdriaan de Groot2021-12-211-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - mismatched comments and code, - remove superfluous log of the "Real package" (which can still change! log the changed filename if it does), - the "fix up the package name" code was replacing the pkg 1.17 suffix by the pkg 1.17 suffix, so it wasn't really being useful. Whether **any** of the backwards- compatibility packaging code is useful is another thing.
| * | | | | | FreeBSD: handle new package-file-suffixAdriaan de Groot2021-12-211-11/+31
| | | | | | |
| * | | | | | FreeBSD: fix up the package nameAdriaan de Groot2021-12-211-6/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using libpkg, the output filename is determined by libpkg itself, based on information in the manifest: package name and version, basically. This doesn't necessarily match the name that CMake has determined via CPACK_TEMPORARY_PACKAGE_FILE_NAME or CPACK_PACKAGE_FILE_NAME. So reset the CMake-determined list to match what libpkg will do.
| * | | | | | FreeBSD: migrate to newer pkg_create(3) APIAdriaan de Groot2021-12-211-3/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pkg_create_from_manifest() function was never really intended as stable API, and bapt@ has asked me to stop using it so the public API can be stabilized. Port to pkg_create() with its attendant settings struct. Since we already have a complete manifest file, we can hand that (including the embedded plist) to pkg_create(). While here, reintroduce pkg_init(), which lived in downstream patches for a while and then went away again.
* | | | | | | Merge topic 'link-only-targets'Brad King2021-12-223-5/+64
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37af6c3311 target_link_libraries: Optionally require only target names 5134f099a3 cmGeneratorTarget: Factor out message about reasons for a missing target 37a25072ea Tests: Rename RunCMake.{CMP0028 => LinkItemValidation} Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6821
| * | | | | | target_link_libraries: Optionally require only target namesBrad King2021-12-203-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optionally verify that items in `LINK_LIBRARIES` and `INTERFACE_LINK_LIBRARIES` that can be target names are actually target names. Add a `LINK_LIBRARIES_ONLY_TARGETS` target property and corresponding `CMAKE_LINK_LIBRARIES_ONLY_TARGETS` variable to enable this new check. Fixes: #22858
| * | | | | | cmGeneratorTarget: Factor out message about reasons for a missing targetBrad King2021-12-201-5/+11
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-221-1/+1
| |/ / / / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-211-1/+1
|/ / / / /
* | | | | Merge topic 'improve-CMP0028-messages'Brad King2021-12-205-32/+111
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea050286e7 CMP0028: Report the target whose link interface has an offending item a97c92e46e CMP0028: Report backtrace to link item rather than target creation 0dcbf4ab58 cmGeneratorTarget: Record when imported target link iface libs are done Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6810
| * | | | | CMP0028: Report the target whose link interface has an offending itemBrad King2021-12-165-36/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously items linked via the link interface of a dependency were reported in CMP0028 messages as if directly linked by a target. Clarify the messages to indicate that an offending item is actually in the link interface of a given target, regardless of its consumer. Move the check to the end of generation and look through the final set of link implementations and link interfaces that were used for generation. This avoids repeating messages on link interfaces that have multiple consumers.
| * | | | | CMP0028: Report backtrace to link item rather than target creationBrad King2021-12-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have proper backtraces for both `LINK_LIBRARIES` and `INTERFACE_LINK_LIBRARIES` entries, we can report them in error messages.
| * | | | | cmGeneratorTarget: Record when imported target link iface libs are doneBrad King2021-12-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `GetImportLinkInterface` populates the link interface from properties of imported targets. Make it more closely match the link interface of in-project targets by recording the `LibrariesDone` field.
* | | | | | CMake Nightly Date StampKitware Robot2021-12-201-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-191-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-12-181-1/+1
| | | | | |
* | | | | | Merge topic 'vs-csproj-scripts'Brad King2021-12-174-16/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aca153b104 VS: Add custom VCEnd labels only in C# projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6808
| * | | | | | VS: Add custom VCEnd labels only in C# projectsSumit Bhardwaj2021-12-164-16/+17
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit dff98aa9ca (VS: add missing label in C# project-build events, 2021-12-15) the condition for adding our own `VCEnd` label was based on the project being managed or not. Since we support managed C++ projects, switch the condition to be based on whether the project is C#. Issue: #21440
* | | | | | Merge topic 'filter-debug-find'Brad King2021-12-1710-10/+88
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7b18895bc cmake: Add filtered debug-find options Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !6778
| * | | | | | cmake: Add filtered debug-find optionsJohn Parent2021-12-1710-10/+88
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `--debug-find-pkg=` option to debug find calls for specific packages. Add a `--debug-find-var=` option to debug find calls for specific return variables. Fixes: #21880
* | | | | | CMake Nightly Date StampKitware Robot2021-12-171-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'link-interface-backtrace'Brad King2021-12-165-49/+107
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d709ea2f5 cmGeneratorTarget: Propagate backtraces from INTERFACE_LINK_LIBRARIES a84a62e0a7 cmTarget: Record backtraces for INTERFACE_LINK_LIBRARIES Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6805
| * | | | | cmGeneratorTarget: Propagate backtraces from INTERFACE_LINK_LIBRARIESBrad King2021-12-152-47/+69
| | | | | |
| * | | | | cmTarget: Record backtraces for INTERFACE_LINK_LIBRARIESBrad King2021-12-153-2/+38
| |/ / / /
* | | | | Merge topic 'vs-csproj-scripts'Brad King2021-12-164-1/+46
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dff98aa9ca VS: add missing label in C# project-build events Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6801
| * | | | | VS: add missing label in C# project-build eventsSteven Boswell2021-12-154-1/+46
| | | | | |
* | | | | | Merge topic 'msvc_cuda_propagate_defines_to_ptx'Brad King2021-12-161-0/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 574b492b47 CUDA: Visual Studio Generator propagates definitions for PTX files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6802
| * | | | | | CUDA: Visual Studio Generator propagates definitions for PTX filesunknown2021-12-141-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From CUDA 9.0 to CUDA 11.4 the CUDA Visual Studio integration defines omitted user defines from PTX generation. With CUDA 11.5 this has been resolved, so we backport the fix to allow for consistent behavior when using CMake
* | | | | | | CMake Nightly Date StampKitware Robot2021-12-161-1/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge topic 'custom-command-main-dependency'Brad King2021-12-1514-60/+64
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 780341f360 cmCustomCommand: Track main dependency explicitly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6800