summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmBuildOptions: Split build arguments into separate object.Carsten Rudolph2022-01-2228-53/+109
|
* CMake Nightly Date StampKitware Robot2022-01-111-1/+1
|
* Merge topic 'cmake-presets-include'Brad King2022-01-1018-1326/+1697
|\ | | | | | | | | | | | | | | | | | | | | 26a5512c0f CMakePresets: Add include field a239f23a98 Refactor: Generalize file graph in CMakePresets 84d440caac Refactor: Split JSON processing into configure, build, and test presets fd6ea2f67f Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraph Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6829
| * CMakePresets: Add include fieldKyle Edwards2022-01-073-3/+66
| | | | | | | | Fixes: #21331
| * Refactor: Generalize file graph in CMakePresetsKyle Edwards2022-01-073-28/+111
| | | | | | | | | | | | | | | | Before this refactoring, presets had a simple flag that marked them as "user" or "not user", and checking the file graph of two files was as simple as checking this flag. This only allowed for two files in the graph. Generalize the code to allow for arbitrarily many files in the graph.
| * Refactor: Split JSON processing into configure, build, and test presetsKyle Edwards2022-01-066-599/+821
| | | | | | | | Split up the file so that it won't be too big on some systems.
| * Refactor: Rename cmCMakePresetsFile to cmCMakePresetsGraphKyle Edwards2022-01-0613-221/+224
| | | | | | | | And change all references to "file" to say "graph" instead.
* | CMake Nightly Date StampKitware Robot2022-01-101-1/+1
| |
* | CMake Nightly Date StampKitware Robot2022-01-091-1/+1
| |
* | CMake Nightly Date StampKitware Robot2022-01-081-1/+1
| |
* | Merge topic 'refactor_vsproject_type'Brad King2022-01-077-47/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | 3b7520b94d Consolidate usage of VsProjectType 938a53f4f1 Refactor VsProjectType to its own header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6830
| * | Consolidate usage of VsProjectTypeSumit Bhardwaj2021-12-234-42/+41
| | | | | | | | | | | | | | | | | | Move ProjectFileExtension handling logic to use ProjectType and remove extraneous checks in .Net SDK style project generation. This change will make introducing new project types relatively simpler.
| * | Refactor VsProjectType to its own headerSumit Bhardwaj2021-12-233-5/+14
| | | | | | | | | | | | | | | Move VsProject to its own header so that we can consolidate IsManaged and IsCSharp.
* | | Merge topic 'cpack-pkg-domains'Brad King2022-01-072-1/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | da737d34e0 CPack/productbuild: add options to control domains element Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6825
| * | | CPack/productbuild: add options to control domains elementDavid Wosk2022-01-062-1/+40
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | The domains element determines the required authorization level needed for the install. The auth attribute of the pkg-ref element has been deprecated in favor of domains, so if the domains options are specified, the auth attribute is omitted. Fixes: #23030
* | | CMake Nightly Date StampKitware Robot2022-01-071-1/+1
|/ /
* | Merge topic 'xcode-framework-system-includes'Brad King2022-01-061-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 7d99cff236 Xcode: Properly identify frameworks with system includes Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6815
| * | Xcode: Properly identify frameworks with system includesGregor Jasny2021-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Check the complete include path for being a system include, not the derived framework search path. The code for Ninja and Makefile generators does exactly the same. Fixes: #23011
* | | CMake Nightly Date StampKitware Robot2022-01-061-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-01-051-1/+1
| | |
* | | 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