summaryrefslogtreecommitdiffstats
path: root/Help/prop_dir
Commit message (Collapse)AuthorAgeFilesLines
* Help: mark the directory properties INTERPROCEDURAL_OPTIMIZATION as deprecatedAlexander Neundorf2023-01-312-7/+4
| | | | | These properties actually never existed, so move the documentation to "Deprecated" and refer to the target properties.
* COMPILE_DEFINITIONS property: ensure leading -D is removed in all casesMarc Chevrier2022-12-131-0/+3
| | | | Fixes: #24186
* Merge topic 'doc-SYSTEM'Brad King2022-12-071-2/+2
|\ | | | | | | | | | | | | b15b9cf286 Help: Clarify SYSTEM property default for imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7990
| * Help: Clarify SYSTEM property default for imported targetsBrad King2022-12-061-2/+2
| | | | | | | | | | | | The `SYSTEM` directory property does not affect imported targets. Fixes: #24219
* | Help: remove links from pages to themselvesBen Boeckel2022-11-181-1/+1
|/ | | | | At least the top-reference links. Internal `:ref:` usages have been left intact.
* add_subdirectory: Add SYSTEM optionDa Quexian2022-09-261-0/+10
| | | | | Fixes: #22401 Signed-off-by: Da Quexian <daquexian566@gmail.com>
* Help: Clarify that RULE_LAUNCH_COMPILE is meant for internal useCraig Scott2022-06-022-4/+16
| | | Fixes: #22405
* Add directory property to list imported targetsBrad King2021-06-102-0/+16
| | | | | | | Model the change after commit cbca65826c (Add directory property to list buildsystem targets, 2016-09-19, v3.7.0-rc1~79^2~1). Fixes: #22291
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-0610-0/+20
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* CUDA: Device linking use now link optionsMarc Chevrier2020-04-191-1/+1
| | | | | | | | | | properties LINK_OPTIONS and INTERFACE_LINK_OPTIONS are propagated to the device link step. To control which options are selected for normal link and device link steps, the $<DEVICE_LINK> and $<HOST_LINK> generator expressions can be used. Fixes: #18265
* Merge branch 'backport-3.14-fix-EXCLUDE_FROM_ALL-subdir-all'Brad King2019-09-301-11/+9
|\
| * Restore "all" target in subdirectories marked EXCLUDE_FROM_ALLBrad King2019-09-301-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | The "all" target in each directory is supposed to have targets from that directory even if the directory itself is marked `EXCLUDE_FROM_ALL` in its parent. This was broken by commit dc6888573d (Pass EXCLUDE_FROM_ALL from directory to targets, 2019-01-15, v3.14.0-rc1~83^2) which made the participation of a target in "all" independent of context. Revert much of the logic change from that commit to restore the old behavior. Then re-implement the behavior intended by the commit to keep its test working. Extend the test to cover the old behavior too. Fixes: #19753
* | Help: Clean up trivial typos and grammarCraig Scott2019-07-031-1/+1
| |
* | Help: Improve ADDITIONAL_CLEAN_FILES documentationSebastian Holtermann2019-06-071-5/+10
| | | | | | | | | | | | | | Extend the `ADDITIONAL_CLEAN_FILES' target and directory property documentation. Fixes: #19341
* | Doc: Update and deprecate ADDITIONAL_MAKE_CLEAN_FILES directory propertySebastian Holtermann2019-05-141-3/+13
| | | | | | | | | | | | This extends the :prop_dir:`ADDITIONAL_MAKE_CLEAN_FILES` directory property documentation and marks it as deprecated. The new directory property :prop_dir:`ADDITIONAL_CLEAN_FILES` should be used instead.
* | Doc: Add documentation for ADDITIONAL_CLEAN_FILES propertiesSebastian Holtermann2019-05-141-0/+16
| |
* | Help: Improve documentation formatingBartosz Kosiorek2019-04-048-18/+19
|/
* Pass EXCLUDE_FROM_ALL from directory to targetsZack Galbreath2019-01-211-0/+6
| | | | | | When a target is created it now inherits the EXCLUDE_FROM_ALL property from its directory. This change makes it possible to include a target in "all", even if its directory has been marked as EXCLUDE_FROM_ALL.
* Help: Spell out ";-list" as "semicolon-separated list"Joachim Wuttke (o)2018-10-256-6/+6
|
* LINK_DIRECTORIES: Add new properties and commandsMarc Chevrier2018-09-251-3/+12
| | | | | | | | | | | | These new capabilities enable to manage link directories Two new properties: * target properties: LINK_DIRECTORIES and INTERFACE_LINK_DIRECTORIES One new command * target_link_directories(): to populate target properties Fixes: #17215
* Merge topic 'doc-updates'Brad King2018-09-201-1/+1
|\ | | | | | | | | | | | | cfe7780279 Help: TESTS property: clarify usage. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2401
| * Help: TESTS property: clarify usage.Marc Chevrier2018-09-191-1/+1
| |
* | Help: Clarify INCLUDE_DIRECTORIES directory property behaviorBrian Heim2018-09-101-3/+9
| | | | | | | | | | | | Ordering w.r.t. target creation is important for this property. Fixes: #17754
* | Help: Document when LINK_FLAGS and STATIC_LIBRARY_FLAGS are usedRobert Maynard2018-08-091-1/+2
| |
* | LINK_OPTIONS: Add new family of propertiesMarc Chevrier2018-06-061-0/+16
|/ | | | | | | | | | | | | | This family enable to manage link flags Three new properties: * directory property: LINK_OPTIONS * target properties: LINK_OPTIONS and INTERFACE_LINK_OPTIONS Two new commands * add_link_options(): to populate directory property * target_link_options(): to populate target properties Fixes: #16543
* add_compile_definitions: add new commandMarc Chevrier2018-04-201-1/+1
| | | | | | | This command manages preprocessor definitions at directory level and supports generator expressions. Fixes: #15374
* Drop Visual Studio 8 2005 generatorBrad King2018-04-022-2/+2
| | | | This generator has been deprecated since CMake 3.9. Remove it.
* Tests management: add TESTS directory propertyMarc Chevrier2018-02-081-0/+7
| | | | Implements: #17680
* Merge topic 'test_include_files'Brad King2017-07-132-1/+10
|\ | | | | | | | | | | | | | | 117033c1 Add TEST_INCLUDE_DIR[S] unit test ed5bde30 Add TEST_INCLUDE_FILES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1031
| * Add TEST_INCLUDE_FILESMatthew Woehlke2017-07-122-1/+10
| | | | | | | | | | | | | | | | | | | | Add new directory property TEST_INCLUDE_FILES. This supersedes TEST_INCLUDE_FILE, though the latter is of course retained for compatibility. Basically, this is a list rather than a single file. This allows the feature to be used by generic utilities without conflicting with local use.
* | Merge topic 'labels-for-subprojects'Brad King2017-07-131-0/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 376dc3eb Help: Add notes for topic 'labels_for_subprojects' a70d8e93 Add tests for new directory labels and labels-for-subprojects features 47b3a57c Display subproject timing summary d3859624 Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable d08ec4d2 Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1004
| * | Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variableBetsy McPhail2017-07-101-0/+13
| |/ | | | | | | | | The specified LABELS will be passed down to subdirectories as well as any targets or tests in the directory.
* | VS: Add SolutionGuid to generated .sln filesBrad King2017-07-111-1/+3
|/ | | | | | Visual Studio 2017 Update 3 adds a SolutionGuid to its `.sln` files. Fixes: #17041
* Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-192-2/+2
| | | | This generator has been deprecated since CMake 3.6. Remove it.
* Add directory properties to get source and binary directoriesBrad King2016-09-192-0/+10
| | | | | | Add SOURCE_DIR and BINARY_DIR directory properties that return the absolute paths to the corresponding directories. These correspond to the target properties of the same names that we already have.
* Add directory property to list buildsystem targetsBrad King2016-09-191-0/+11
| | | | | Add a BUILDSYSTEM_TARGETS property to allow project code to traverse the list of its own targets in a given directory.
* Add a directory property to list subdirectoriesBrad King2016-09-191-0/+15
| | | | | Add a SUBDIRECTORIES directory property to allow project code to traverse the directory structure of itself as CMake sees it.
* Help: Clarify VS_STARTUP_PROJECT documentationBrad King2016-06-211-1/+7
| | | | | | | Explain in what directory the property should be set to affect the corresponding ``.sln`` file. Suggested-by: Stephen Kelly <steveire@gmail.com>
* Help: Hyperlink propertiesGregor Jasny2016-04-271-2/+3
|
* Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-291-1/+1
| | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* VS: Add option to choose the `.sln` startup project (#15578)Davy Durham2016-03-221-0/+12
| | | | | | | | Add a `VS_STARTUP_PROJECT` directory property to specify the project that should be placed first in the `.sln` file so that it will be selected as the default startup project. Co-Author: Taylor Braun-Jones <taylor.braunjones@avigilon.com>
* Drop Visual Studio 6 generatorBrad King2016-03-091-2/+1
| | | | | | This generator has been deprecated since CMake 3.3. Remove it. Update documentation, modules, and tests to drop content specific to this generator.
* Help: Document CLEAN_NO_CUSTOM as for Makefile generators only (#15856)Brad King2015-11-231-4/+3
| | | | | | | The property cannot be implemented on other generators because the corresponding native build tools (VS IDE, Xcode, Ninja) all implement their own `clean` operations that affect all outputs. Document this limitation.
* cmMakefile: Remove special handling of INCLUDE_REGULAR_EXPRESSION.Stephen Kelly2015-07-181-2/+3
| | | | | | It costs an extra cmMakefile member and extra code to maintain in directory property handling. Remove documentation note that it is read-only and specify high-level command to populate it.
* Do not treat DEFINITIONS as a built-in directory propertyStephen Kelly2015-04-021-3/+8
| | | | | | | | Add policy CMP0059 to cover this change. The property has been deprecated since CMake 2.4 anyway. This will help clean up cmMakefile -- the DefineFlagsOrig member should not need to exist.
* Help: Refine COMPILE_OPTIONS property documentationBrad King2015-03-311-2/+2
| | | | | | Make wording of the directory and target properties more consitent and complementary. Specify that the value is a ";-list" with a link to the cmake-language(7) manual section on lists.
* Help: Clarify add_compile_options documentation (#15225)Brad King2014-10-291-3/+3
| | | | | | | Explain that it affects only targets added after the call. Fix the link to the COMPILE_OPTIONS directory propert documentation. Update the latter to explain that it is used to initialize the corresponding target property when a target is created.
* Help: Document deprecated properties.Nils Gladitz2014-07-211-0/+2
| | | | | | Document the COMPILE_DEFINITIONS_<Config> properties as deprecated. Add new sections for deprecated properties and move POST_INSTALL_SCRIPT and PRE_INSTALL_SCRIPT there as well.
* Help: Document relation of properties to the rest of the buildsystem.Stephen Kelly2014-02-064-24/+55
|
* Help: Use ``inline-literals`` to mark generator expressions.Stephen Kelly2014-02-061-1/+1
|