summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* VS: Add StartupObject property for managed .NET projectsFlorian Schweiger2022-04-121-0/+1
|
* Merge topic 'adsp-platform-and-compilers'Brad King2022-04-063-0/+24
|\ | | | | | | | | | | | | | | | | 87142bbd5f ADSP: Add dedicated platform module e9eabb0dcd ADSP: Configure compiler in compiler module 88b38f531a ADSP: Support both VDSP++ and CCES for ADSP compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7123
| * ADSP: Add dedicated platform moduleChris Wright2022-04-043-0/+24
| |
* | xcode: add support for xcconfig filesGregor Jasny2022-04-032-0/+2
|/ | | | Fixes: #18420
* Merge topic 'verify-header-sets'Brad King2022-03-302-0/+2
|\ | | | | | | | | | | | | | | c798744f81 FILE_SET: Add VERIFY_HEADER_SETS target property Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7085
| * FILE_SET: Add VERIFY_HEADER_SETS target propertyKyle Edwards2022-03-292-0/+2
| | | | | | | | Fixes: #23338
* | CMP0132: Don't set compiler environment variables on first runCraig Scott2022-03-291-0/+1
|/ | | | | | | | | | | When running CMake for the first time in a build tree, for some generators CMake would set compiler environment variables like CC, CXX, etc. when the corresponding language is enabled. That behavior was never documented and can result in different behavior between the first and subsequent runs. Add a policy to no longer set those environment variables. Fixes: #21378
* Merge topic 'link-interface-direct'Brad King2022-03-252-6/+10
|\ | | | | | | | | | | | | | | | | | | cf312a2e54 LINK_LIBRARIES: Add support for LINK_ONLY genex 41a6b4a53b INTERFACE_LINK_LIBRARIES_DIRECT: Honor link dependencies through LINK_ONLY 73337cb383 LINK_LIBRARIES: Evaluate separately for linking and usage requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7107
| * LINK_LIBRARIES: Add support for LINK_ONLY genexBrad King2022-03-242-6/+10
| | | | | | | | | | | | | | Previously we always used content guarded by `$<LINK_ONLY:...>` in `LINK_LIBRARIES`, even when evaluating for non-linking usage requirements. Add a policy to honor `LINK_ONLY` in `LINK_LIBRARIES` the same way we already do in `INTERFACE_LINK_LIBRARIES`.
* | Merge topic 'cmake-fresh'Brad King2022-03-251-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | 9f1471739d cmake: Add --fresh option to clear the cache and start from scratch Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7099
| * | cmake: Add --fresh option to clear the cache and start from scratchBrad King2022-03-221-0/+7
| |/ | | | | | | | | | | | | Simplify the workflow to re-run CMake from scratch as if a build tree were never before processed, regardless of whether it has been. Fixes: #23119
* | cmake -E tar: Add --touch optionKasper Laudrup2022-03-231-0/+6
|/ | | | | | | | Similar to GNU tar add a --touch option to the tar extract command to skip extracting the timestamps from the files in the archive effectively touching them as if they were just created. Issue: #22746
* Merge topic 'LINK_LIBRARY-WHOLE_ARCHIVE'Brad King2022-03-211-2/+2
|\ | | | | | | | | | | | | | | dabe56de58 genex-LINK_LIBRARY: Add feature WHOLE_ARCHIVE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: huangqinjin <huangqinjin@gmail.com> Merge-request: !7064
| * genex-LINK_LIBRARY: Add feature WHOLE_ARCHIVEMarc Chevrier2022-03-171-2/+2
| |
* | Merge topic 'doc-multiple-src-paths'Brad King2022-03-181-0/+7
|\ \ | | | | | | | | | | | | | | | | | | 1b8669c1d6 Help: Document warning about multiple source paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7082
| * | Help: Document warning about multiple source pathsBrad King2022-03-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Although passing multiple source paths was never documented, it was not diagnosed by CMake 3.22 and below. In CMake 3.23 we now diagnose extra paths and warn. Document this change and add a release note. Issue: #23334
* | | Merge topic 'doc-src-bld-selection'Brad King2022-03-171-0/+20
|\ \ \ | |/ / | | | | | | | | | | | | | | | fea270d3ed Help: Document cmake source and binary dir selection rules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7076
| * | Help: Document cmake source and binary dir selection rulesRobert Maynard2022-03-171-0/+20
| | | | | | | | | | | | Co-authored-by: Brad King <brad.king@kitware.com>
* | | Merge topic 'doc-list-semicolons'Brad King2022-03-161-0/+42
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | 8abd714176 Help: Clarify that ENVIRONMENT test properties take ;-separated lists 02cf404ace Help: Add advice for dealing with semicolons in lists c4117d9116 ExternalProject: Document that LIST_SEPARATOR works for CMAKE_ARGS too Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7066
| * | Help: Add advice for dealing with semicolons in listsBrad King2022-03-151-0/+42
| | | | | | | | | | | | Issue: #23315
| * | Merge topic 'cmake-presets-file-dir' into release-3.23Brad King2022-03-081-0/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f54507c2f6 CMakePresets.json: Add ${fileDir} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !7051
* | | | find_package: Add support for default GLOBAL imported targetsJohn Parent2022-03-101-0/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Allow find package to promote scope of imported targets by specifying an argument to `find_package` or by specifying a CMake variable. * Add support for CMAKE_GLOBAL_IMPORT_SCOPE variable * Add support for GLOBAL argument to find_package Additionally add testing for above features.
* | | Merge topic 'ctest_truncate'Brad King2022-03-095-4/+84
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 140704d443 ctest: add option for output truncation 359e5b17d8 presets: bump version to v5 4634de335b cmCTestTestHandler: refactor CleanTestOutput method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6993
| * | | ctest: add option for output truncationFrank Winklmeier2022-03-084-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--test-output-truncation` to `ctest`. This option can be used to customize which part of the test output is being truncated. Currently supported values are `tail`, `middle` and `head`. Also add equivalent `CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION` variable. Fixes: #23206
| * | | presets: bump version to v5Frank Winklmeier2022-03-083-4/+50
| | | | | | | | | | | | | | | | Prepare for new test preset fields.
* | | | Merge topic 'color-diagnostics'Brad King2022-03-092-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ab9fbd43b color: Add tests for CMAKE_COLOR_DIAGNOSTICS 78adb1b952 color: Add CMAKE_COLOR_DIAGNOSTICS environment variable 884d9de8b7 color: Introduce CMAKE_COLOR_DIAGNOSTICS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Frank Dana <ferdnyc@gmail.com> Merge-request: !6990
| * | | | color: Add CMAKE_COLOR_DIAGNOSTICS environment variableSemyon Kolton2022-03-081-0/+1
| | | | |
| * | | | color: Introduce CMAKE_COLOR_DIAGNOSTICS variableSemyon Kolton2022-03-081-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Add a variable to control both makefile color messages and compiler color diagnostics. Fixes: #15502
* | | | Merge topic 'cmake-presets-file-dir'Brad King2022-03-081-0/+5
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | f54507c2f6 CMakePresets.json: Add ${fileDir} macro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !7051
| * | | CMakePresets.json: Add ${fileDir} macroKyle Edwards2022-03-071-0/+5
| | | | | | | | | | | | | | | | Fixes: #23214
* | | | Merge topic 'doc-lang-std-features'Brad King2022-03-081-0/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | fbda79f39d Help: Document explicitly that 'cxx_std_##' features may not add a flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: antmak <antmak.pub@gmail.com> Merge-request: !7043
| * | | Help: Document explicitly that 'cxx_std_##' features may not add a flagBrad King2022-03-071-0/+2
| |/ / | | | | | | | | | | | | This is commonly reported incorrectly as a bug, so call out this behavior explicitly in the documentation.
* | | Merge topic 'LINK_LIBRARY-libraries'Brad King2022-03-071-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9fb1dff070 LINK_LIBRARY: Add features for library support on Apple 93a153bc7f Genx-LINK_LIBRARY: simplify framework features definitions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7029
| * | | LINK_LIBRARY: Add features for library support on AppleMarc Chevrier2022-03-051-2/+2
| | | |
* | | | Merge topic 'LINK_GROUP-rescan-static-libs'Brad King2022-03-071-3/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0fada9964 Genex-LINK_GROUP: Add feature RESCAN Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7044
| * | | | Genex-LINK_GROUP: Add feature RESCANMarc Chevrier2022-03-051-3/+7
| |/ / / | | | | | | | | | | | | | | | | Feature RESCAN can be used to manage circular references between static libraries.
* | | | while: diagnose errors during condition evaluationBrad King2022-03-041-0/+8
|/ / / | | | | | | | | | | | | | | | Add a policy to diagnose condition errors in a compatible way. Fixes: #23296
* | | Merge topic 'doc-presets-v4'Brad King2022-03-022-43/+69
|\ \ \ | |/ / | | | | | | | | | | | | | | | 6404751176 Help: Improve wording and structure related to preset includes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7028
| * | Help: Improve wording and structure related to preset includesCraig Scott2022-03-022-43/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Encourage placing preset includes near the beginning of a preset file and ensure the example shows that usage. Move the prose discussing includes to its own section to improve discoverability and break up paragraphs to make each main point harder to miss. Also clarify ${sourceDir} to remove any ambiguity with regard to its meaning in included files. Issue: #23214
* | | Genex-LINK_GROUP: Add possibility to group libraries at link stepMarc Chevrier2022-02-282-2/+153
| | | | | | | | | | | | Fixes: #23121
* | | genex-LINK_LIBRARY: rename configuration variablesMarc Chevrier2022-02-162-13/+13
| | | | | | | | | | | | | | | | | | To be more consistent between genex and variables as well as the forecomming LINK_GROUP genex, rename variable *_LINK_USING_<FEATURE>* in *_LINK_LIBRARY_USING_<FEATURE>*
* | | Merge topic 'vs-package-restore-docs'Brad King2022-02-162-25/+24
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | d92469e572 Help: Clarify how package resolve mode is intended to be used f320a31087 cmake --build: prioritize --resolve-package-references over preset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6984
| * | Help: Clarify how package resolve mode is intended to be usedCarsten Rudolph2022-02-152-7/+8
| | | | | | | | | | | | Fixes: #23223
| * | cmake --build: prioritize --resolve-package-references over presetCarsten Rudolph2022-02-152-18/+16
| | | | | | | | | | | | Fixes: #23224
| * | Merge topic 'doc-example-package-components' into release-3.23Brad King2022-02-151-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 5317015e68 Help: use package-specific var for supported component list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6975
| * \ \ Merge topic 'doc-no-versioned-soname' into release-3.23Brad King2022-02-151-0/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3f7e6b3fd4 Help: Document CMAKE_PLATFORM_NO_VERSIONED_SONAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6978
* | \ \ \ Merge topic 'doc-example-package-components'Brad King2022-02-151-2/+2
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 5317015e68 Help: use package-specific var for supported component list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6975
| * | | | Help: use package-specific var for supported component listConnor Imes2022-02-141-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always using `_supported_components` causes conflicts when transitive dependencies also set this variable, e.g., because the developers followed these code samples. An even more general approach could be to set `_${CMAKE_FIND_PACKAGE_NAME}_supported_components` instead, but such a change should then be applied to other variables for consistency. Fixes: #23112
* | | | Merge topic 'doc-no-versioned-soname'Brad King2022-02-151-0/+1
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | | | | | | | 3f7e6b3fd4 Help: Document CMAKE_PLATFORM_NO_VERSIONED_SONAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6978
| * | Help: Document CMAKE_PLATFORM_NO_VERSIONED_SONAMERalf Habacker2022-02-141-0/+1
| | | | | | | | | | | | | | | | | | | | | This variable was added by commit 42f74df6d4 (Add basic Android platform module, 2014-06-06, v3.1.0-rc1~416^2), but was not previously documented. Fixes: #23227