summaryrefslogtreecommitdiff
path: root/Help/prop_dir
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Allow projects to specify extra inputs to CMakeBrad King2014-01-211-0/+9
| | | | | | | Define a new 'CMAKE_CONFIGURE_DEPENDS' directory property that projects can use to specify input files to the CMake configuration process. Extend the RunCMake.Configure test to verify that the build system re-runs CMake when this input changes.
* Help: Factor out cmake-generator-expressions manual pageBrad King2013-10-161-75/+3
| | | | | | | | | Generator expressions are supported in many places and are a distinct concept worthy of their own manual page. The old builtin documentation was previously represented by preprocessor macros to generate it into each place that supports them. Factor out the duplicate content into a dedicated cmake-generator-expressions manual page and reference it from each original location.
* Help: Factor out COMPILE_DEFINITIONS disclaimer duplicationBrad King2013-10-161-20/+1
| | | | | | | The COMPILE_DEFINITIONS escaping disclaimer was represented in builtin documentation using a preprocessor macro. Factor the duplicate content out into a separate .txt file and include it in each document with the reStructuredText include directive.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-1524-0/+365
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.