summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
* LINK_DIRECTORIES: Add new properties and commandsMarc Chevrier2018-09-252-0/+27
| | | | | | | | | | | | 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 'out-of-dir-linking'Brad King2018-09-143-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | a1ad0a699b target_link_libraries: Allow use with targets in other directories 9bbae5ae28 cmTarget: Future-proof AddLinkLibrary target lookup scope f9cb6f618a cmExportFileGenerator: Use cmGeneratorTarget::ResolveTargetReference 18441a6269 cmGeneratorTarget: Factor target name resolution out of link item resolution 2f708f5d65 Make internal TARGET_PROPERTY generator expressions more robust 94a75801c8 Android.mk: De-duplicate link libraries logic during export 8a63b23d16 cmGlobalGenerator: Remove unused FindLocalGenerator method Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Patrick Stotko <stotko@cs.uni-bonn.de> Merge-request: !2370
| * target_link_libraries: Allow use with targets in other directoriesBrad King2018-09-123-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the command did not allow naming targets on the LHS that were not created in the calling directory. Lift this restriction to enable more flexible use by projects. Targets named on the RHS will need to be looked up during generation in the scope of the call site rather than the scope of the LHS target. Introduce an internal syntax in `[INTERFACE_]LINK_LIBRARIES` properties to specify target names that need to be looked up in a directory other than that containing the target on which the property is set. Add minimal documentation of the syntax to help users that encounter it. Unfortunately CMake previously did allow such calls in the case that only `INTERFACE` libraries are specified, but those libraries would be looked up in the target's directory rather than the caller's. Add policy `CMP0079` to enable the new behavior with new lookup scope in a compatible way. Fixes: #17943
* | Help: Replace occurrences of "Mac OS X" with "macOS"Bartosz Kosiorek2018-09-0517-26/+26
|/ | | | | | | | Apple's main Operating system changed their name from OS X to macOS: https://www.engadget.com/2016/06/13/os-x-is-now-macos/ Revise documentation accordingly.
* static library: add property STATIC_LIBRARY_OPTIONSMarc Chevrier2018-08-156-10/+46
| | | | issue: #18251
* Help: Document when LINK_FLAGS and STATIC_LIBRARY_FLAGS are usedRobert Maynard2018-08-094-7/+15
|
* Xcode: Add variables and properties to configure schemesGregor Jasny2018-08-0118-0/+213
| | | | | | | | | Add `XCODE_SCHEME_*` target properties and associated variables `CMAKE_XCODE_SCHEME_*` to initialize them on target creation. Map each target property value to an associated Xcode scheme entry. Co-Author: Martin Sander <mail@martin-sander.de> Fixes: #17919
* Merge topic 'document_object_library_as_a_property_type'Brad King2018-07-101-2/+2
|\ | | | | | | | | | | | | 741fd1c773 Help: Add OBJECT_LIBRARY to TYPE target property documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2199
| * Help: Add OBJECT_LIBRARY to TYPE target property documentationRobert Maynard2018-07-101-2/+2
| |
* | Merge topic 'vs-deployment-files'Brad King2018-07-101-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3b2ea092ef Help: Add documentation for DEPLOYMENT_ADDITIONAL_FILES b771b2c300 VS: extended OutputDeploymentDebuggerTool for AdditionalFiles 2f4075fa45 VS: moved EscapeForXML function higher up and made static Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2184
| * | Help: Add documentation for DEPLOYMENT_ADDITIONAL_FILESFrank Goyens2018-07-091-0/+18
| | |
* | | LINK_DEPENDS: add support of 'generator expressions'Marc Chevrier2018-06-271-0/+5
| | |
* | | LINK_DEPENDS: add support for property INTERFACE_LINK_DEPENDSMarc Chevrier2018-06-272-2/+33
|/ / | | | | | | Fixes: #17997
* | VS10Project: Expand VS_DEBUGGER_* capabilitiesJon Chronopoulos2018-06-174-0/+26
| | | | | | | | | | This adds VS_DEBUGGER_COMMAND_ARGUMENTS and VS_DEBUGGER_ENVIRONMENT as well as allowing VS_DEBUGGER_* to use generator expressions.
* | LINK_OPTIONS: Add new family of propertiesMarc Chevrier2018-06-064-2/+40
|/ | | | | | | | | | | | | | 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 generator expression support to PDB_OUTPUT_DIRECTORY target propertyMarian Klymov2018-05-212-2/+11
| | | | Fixes: #16365
* added CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION variableMichael Stürmer2018-05-152-0/+16
| | | | Fixes: #17955
* Help: Add hint to required VS 2017 component for C++/CLI supportMichael Stürmer2018-04-271-0/+3
|
* Cleanup: Fix typos and grammar in docs and codeCraig Scott2018-04-221-3/+3
| | | No functional changes, just docs, comments and error messages.
* document COMMON_LANGUAGE_RUNTIME target propertiesMichael Stürmer2018-04-092-0/+27
|
* Merge topic 'remove-vs8-generator'Brad King2018-04-021-2/+2
|\ | | | | | | | | | | | | | | eb80af9093 Drop Visual Studio 8 2005 generator e7af91d026 Tests: Remove unused file from Tutorial Step7 test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1901
| * Drop Visual Studio 8 2005 generatorBrad King2018-04-021-2/+2
| | | | | | | | This generator has been deprecated since CMake 3.9. Remove it.
* | Merge topic 'variable-CMAKE_FOLDER'Brad King2018-04-021-0/+3
|\ \ | | | | | | | | | | | | | | | | | | df535ad846 Add CMAKE_FOLDER variable to initialize FOLDER target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1896
| * | Add CMAKE_FOLDER variable to initialize FOLDER target propertyMarc B2018-03-291-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used for example to organize all following targets into one Visual Studio folder: set(CMAKE_FOLDER Libraries) add_subdirectory(libA) add_subdirectory(libB) set(CMAKE_FOLDER Executables) add_subdirectory(progA) Another possibility is using the current directory name for all following targets in subdirectories: get_filename_component(dirname "${CMAKE_CURRENT_SOURCE_DIR}" NAME) string(APPEND CMAKE_FOLDER "/${dirname}")
* | Features: Add infrastructure for C++ 20 language standardBrad King2018-03-271-1/+1
|/ | | | Issue: #17849
* Help: Reference CMAKE_INSTALL_NAME_DIR from INSTALL_NAME_DIRRuslan Baratov2018-03-201-0/+4
|
* Merge topic 'export-properties'Brad King2018-03-191-0/+14
|\ | | | | | | | | | | | | 6db61f0725 Export: allow exporting of additional properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1834
| * Export: allow exporting of additional propertiesWouter Klouwen2018-03-161-0/+14
| | | | | | | | | | | | | | | | | | This change introduces an additional property that may be set on a target to allow additional properties to be exported. Normally only a limited number of properties are exported. Additional properties may be exported by simply setting the `EXPORT_PROPERTIES` property on a target that is exported.
* | Merge topic 'vs-debugger-command'Brad King2018-03-191-0/+9
|\ \ | | | | | | | | | | | | | | | | | | 5a7113d8fb VS: Add target property VS_DEBUGGER_COMMAND Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1842
| * | VS: Add target property VS_DEBUGGER_COMMANDHannes Mezger2018-03-141-0/+9
| |/ | | | | | | Fixes: #17819
* | Help: Document VS_DEBUGGER_WORKING_DIRECTORY supported VS versionsHannes Mezger2018-03-131-0/+3
|/
* Autogen: Doc: Extend AUTOMOC_DEPEND_FILTERS documentationSebastian Holtermann2018-02-211-18/+77
|
* Autogen: Doc: Extend AUTOGEN_TARGET_DEPENDS documentationSebastian Holtermann2018-02-211-8/+22
|
* Autogen: Documentation: Update for AUTORCC changesSebastian Holtermann2018-02-031-0/+5
|
* Autogen: Add documentation for (CMAKE_)AUTOGEN_PARALLELSebastian Holtermann2018-01-173-1/+29
|
* Merge topic 'unhardcode-configuration-types'Brad King2018-01-101-2/+3
|\ | | | | | | | | | | | | | | 1f4d7a07 Help: Add references and backticks in LINK_FLAGS prop_tgt 48f7e2d3 Unhardcode the CMAKE_CONFIGURATION_TYPES values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1345
| * Help: Add references and backticks in LINK_FLAGS prop_tgtBeren Minor2018-01-081-2/+3
| |
| * Unhardcode the CMAKE_CONFIGURATION_TYPES valuesBeren Minor2018-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This removes duplicated code for per-config variable initialization by providing a `cmake_initialize_per_config_variable(<PREFIX> <DOCSTRING>)` function. This function initializes a `<PREFIX>` cache variable from `<PREFIX>_INIT` and unless the `CMAKE_NOT_USING_CONFIG_FLAGS` variable is defined, does the same with `<PREFIX>_<CONFIG>` from `<PREFIX>_<CONFIG>_INIT` for every `<CONFIG>` in `CMAKE_CONFIGURATION_TYPES` for multi-config generators or `CMAKE_BUILD_TYPE` for single-config generators.
* | Help: fix documentation for OUTPUT_NAMEKyle Edwards2018-01-081-1/+2
|/ | | | Fixes #17177.
* Fortran: Add option to run the compiler through launcher toolsBrad King2017-11-211-1/+1
| | | | | | | | | | Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
* Merge topic 'cuda-sep-comp-var'Brad King2017-11-201-0/+4
|\ | | | | | | | | | | | | | | 00e13993 CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexander Korsunsky <a.korsunsky@gmail.com> Merge-request: !1495
| * CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variableBrad King2017-11-171-0/+4
| | | | | | | | | | | | | | Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478
* | Help: Fix cross-reference in COMPILE_FLAGS target property docsCraig Scott2017-11-191-1/+1
|/
* Add new target-property `IMPORTED_GLOBAL`.Deniz Bahadir2017-11-071-0/+22
| | | | | | | | | | | | | | | The purpose of this new `IMPORTED_GLOBAL` target-property is to prolong the lifetime and scope of `IMPORTED` targets in such a way as if they had been created with the keyword `GLOBAL` in the first place. * It can only be set to `TRUE`. That means, a local `IMPORTED` target can be promoted to global scope but a global `IMPORTED` target cannot be degraded to local scope! * Setting it to `TRUE` only succeeds if done from within the same directory in which the `IMPORTED` target was created in the first place. Fixes #17256.
* Merge topic 'doc-cxx-std-msvc'Brad King2017-10-242-2/+4
|\ | | | | | | | | | | | | e0587669 Help: Correct <LANG>_STANDARD help w.r.t. MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1401
| * Help: Correct <LANG>_STANDARD help w.r.t. MSVCChristian Pfeiffer2017-10-232-2/+4
| | | | | | | | Fixes: #17380
* | Merge topic 'imported-interface-no-system'Brad King2017-10-161-7/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | 22beb07f Help: Clarify documentation of NO_SYSTEM_FROM_IMPORTED 2de0e0fd Do not initialize NO_SYSTEM_FROM_IMPORTED on INTERFACE libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1386
| * | Help: Clarify documentation of NO_SYSTEM_FROM_IMPORTEDBrad King2017-10-131-7/+11
| |/ | | | | | | | | | | | | This property is meant to be set on the consumers of imported targets, not the imported targets themselves. Fixes: #17348
* | Merge topic 'autogen-skip-ui'Brad King2017-10-112-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | e95429fd Autogen: Docs: Extend SKIP_AUTOUIC documentation 814cddbe Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONS 1c196268 Autogen: Allow setting SKIP_AUTOUIC/GEN on .ui files not in the sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1366
| * | Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONSSebastian Holtermann2017-10-092-0/+18
| |/