summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-generator-expressions.7.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Fix wrong syntax for $<PATH:REPLACE_EXTENSION,...>Craig Scott2022-07-241-1/+1
|
* Help: Add Whitespace And Quoting section to genex manualCraig Scott2022-07-191-0/+87
|
* Help: Restructure reference sections of genex manualCraig Scott2022-07-191-872/+866
| | | | | | | | As part of the general restructuring, also move the notes of a more introductory nature out of what was the "String-Valued Generator Expressions" section and up to the dedicated Introduction. This gives the reader a bit more of a foundation before they get to the heavier detail of the reference section.
* Help: Move reference content to its own section at end of genex manualCraig Scott2022-07-191-49/+53
| | | | | | | | | | | | | | This involves moving the Debugging section up to just after the introduction. The content of that section is unchanged. The reference section then follows, and since it is a dedicated section, all existing sections thereunder were demoted one level. Move the note about deviating from the usual CMake docs convention of using angle brackets around placeholders out of the Introduction and to the start of the reference section. No placeholders are used before that point, so that content no longer belongs in the introduction. Apply some minor wording cleanup to the content in the Introduction that remained.
* Help: Add missing versionadded for CUDA genexesCraig Scott2022-07-191-0/+4
|
* Help: Genex manual typo, grammar, formatting, wording fixesCraig Scott2022-07-191-35/+35
|
* Help: Boolean genex conditions must evaluate to 1 or 0Craig Scott2022-07-191-5/+8
|
* Help: Fix cross-references in genex manual that linked to wrong genexesCraig Scott2022-07-191-4/+4
|
* Genex LINK_LIBRARY and LINK_GROUP: check supported propertiesMarc Chevrier2022-07-061-6/+8
| | | | | | | Refines check for properties supporting these genex. Enhance error message. Fixes: #23699
* Help: Document $<TARGET_FILE> dependency behaviorRobert Maynard2022-07-051-0/+4
| | | | Fixes: #23686
* Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docsCraig Scott2022-07-031-140/+148
| | | | | | | These changes restructure the docs to improve readability and flow, correct grammar and typos, and fix errors and inconsistencies in some of the examples. Fixes: #23684
* Help: Trivial grammar fixup in LINK_GROUPS genexCraig Scott2022-06-101-1/+1
|
* Help: genex: layout updatesMarc Chevrier2022-06-031-19/+22
| | | | | * create section for version comparisons * move $<LINK_LIBRARY> and $<LINK_GROUP> to "Output-Related Expressions" section
* Genex-PATH_EQUAL: path comparisonMarc Chevrier2022-06-011-0/+13
| | | | To complete issue #23498
* Genex-PATH: path handlingMarc Chevrier2022-05-311-0/+212
| | | | Fixes: #23498
* Merge topic 'doc-hip-genex-versionadded'Brad King2022-05-241-0/+8
|\ | | | | | | | | | | | | 9f863cbd93 Help: Document when HIP_COMPILER generator expressions were added Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7289
| * Help: Document when HIP_COMPILER generator expressions were addedEisuke Kawashima2022-05-241-0/+8
| | | | | | | | | | These were added by commit b50bfc8913 (HIP: Add language to CMake, 2020-08-28, v3.21.0-rc1~66^2~4).
* | Help: Clarify which items are retained by $<REMOVE_DUPLICATES:...>Craig Scott2022-04-281-1/+3
| |
* | Genex: Add TARGET_BUNDLE_DIR_NAMEBen Leadbetter2022-04-221-0/+10
| | | | | | | | | | | | Evaluate to the name of the bundle directory for a given bundle target. Fixes: #23409
* | Help: Make TARGET_BUNDLE[_CONTENT]_DIR examples more preciseBrad King2022-04-221-6/+8
| | | | | | | | | | | | | | The `TARGET_BUNDLE_DIR` and `TARGET_BUNDLE_CONTENT_DIR` generator expressions produce absolute paths. Show them in the examples. Suggested-by: Ben Leadbetter <ben.leadbetter@native-instruments.com>
* | Merge topic 'target-runtime-dlls-doc'Brad King2022-04-201-7/+7
|\ \ | |/ | | | | | | | | | | 692aacfc72 Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> doc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7186
| * Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> docKyle Edwards2022-04-191-7/+7
| |
* | LINK_LIBRARIES: Add support for LINK_ONLY genexBrad King2022-03-241-6/+9
| | | | | | | | | | | | | | 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`.
* | genex-LINK_LIBRARY: Add feature WHOLE_ARCHIVEMarc Chevrier2022-03-171-2/+2
| |
* | 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
| | |
* | | Genex-LINK_GROUP: Add feature RESCANMarc Chevrier2022-03-051-3/+7
|/ / | | | | | | | | Feature RESCAN can be used to manage circular references between static libraries.
* | Genex-LINK_GROUP: Add possibility to group libraries at link stepMarc Chevrier2022-02-281-2/+149
| | | | | | | | Fixes: #23121
* | genex-LINK_LIBRARY: rename configuration variablesMarc Chevrier2022-02-161-9/+9
| | | | | | | | | | | | 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>*
* | $<LINK_LIBRARY>: Add LINK_LIBRARY_OVERRIDE target propertyMarc Chevrier2022-02-081-0/+8
| | | | | | | | | | | | To enable the management of incompatible $<LINK_LIBRARY> declarations, add LINK_LIBRARY_OVERRIDE and LINK_LIBRARY_OVERRIDE_<LIBRARY> target properties.
* | Genex: Add $<LINK_LIBRARY:...>Marc Chevrier2022-02-071-0/+69
|/ | | | | | | | This generator expression offers the capability, for the link step, to decorate libraries with prefix/suffix flags and/or adding any specific flag for each library. Fixes: #22812, #18751, #20078, #22703
* Merge topic 'doc-TARGET_RUNTIME_DLLS'Brad King2021-11-041-1/+10
|\ | | | | | | | | | | | | | | 001870d451 Help: Clarify TARGET_RUNTIME_DLLS behavior on imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !6700
| * Help: Clarify TARGET_RUNTIME_DLLS behavior on imported targetsBrad King2021-11-031-1/+10
| | | | | | | | | | | | | | | | This generator expression does not report the locations of `.dll` files on imported targets with the `UNKNWON` type, since their `IMPORTED_LOCATION` refers to the import library and not the DLL. Fixes: #22845
* | Help: gen expr: note that CONFIG is comma-separatedMichael Hirsch2021-10-191-2/+2
|/
* Help: Add versionadded tags to cmake-generator-expressions(7)FeRD (Frank Dana)2021-06-281-5/+105
|
* Merge topic 'add_hip_language'Brad King2021-06-091-0/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8514ee9b31 HIP: analyze output of `hipcc` to determine default GPU architecture 20d086f1a2 HIP: All HIP tests now run on CMake's current AMD hardware 2e86e50c2f HIP: Add HIP to all the Check* modules 947dbed0aa HIP: Automatically inject the `hip::device` runtime target b50bfc8913 HIP: Add language to CMake ff0d2858e1 HIP: Extract clang compiler details from hipcc bd844387df ROCMClang: Add the ROCm toolkit derived clang compiler to CMake 590553f322 Compilers: protect use of __has_include ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6121
| * HIP: Add language to CMakeRobert Maynard2021-06-071-0/+22
| |
* | Help: Add documentation for runtime dependency installationKyle Edwards2021-06-041-2/+3
|/
* Merge topic 'doc-custom-output-genex'Brad King2021-03-251-0/+2
|\ | | | | | | | | | | | | 2f59b683d3 Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5939
| * Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targetsCraig Scott2021-03-251-0/+2
| | | | | | Relates: #21364
* | Genex: Add TARGET_RUNTIME_DLLS genexKyle Edwards2021-02-241-0/+23
|/ | | | Co-Authored-by: Brad King <brad.king@kitware.com>
* Help: Convert genex documentation to sphinx domain objectsBrad King2021-01-181-102/+282
| | | | This makes them linkable, indexed, and enables cross-references.
* Help: Remove extra blank line from cmake-generator-expressions(7)Brad King2021-01-181-1/+0
|
* Ninja Multi-Config: Add support for cross-config custom commandsKyle Edwards2020-12-151-0/+18
| | | | Co-Author: Brad King <brad.king@kitware.com>
* Document CMP0112 covers $<TARGET_FILE_NAME,tgt>Robert Maynard2020-12-071-0/+3
| | | | Fixes #21559
* Merge topic 'target_genex_dependency'Brad King2020-09-011-0/+30
|\ | | | | | | | | | | | | | | f14b390198 GenEx: Remove unneeded dependencies from target info queries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5127
| * GenEx: Remove unneeded dependencies from target info queriesRobert Maynard2020-09-011-0/+30
| | | | | | | | | | | | | | | | | | | | Only generate a graph dependency between a custom command and a target when the custom command queries for the file path of an artifact of the target. This makes generator expressions such as `TARGET_FILE_DIR` behave the same way as `TARGET_PROPERTY` which never generated a graph dependency.
* | ISPC: Update help documentation to include ISPCRobert Maynard2020-08-281-0/+14
|/
* Fix typos identified using codespellJean-Christophe Fillion-Robin2020-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ```
* Genex: $<CONFIG:> now supports multiple configurationsRobert Maynard2020-06-241-4/+5
| | | | | Instead of having to do $<OR:$<CONFIG:Release>,$<CONFIG:MinSizeRel>> you can do $<CONFIG:Release,MinSizeRel>