summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
* Help: Remove empty literal block markup in RESOURCE target propertyBrad King2019-04-051-1/+1
| | | | | This was added accidentally by commit 456e0fb64f (Help: Improve documentation formating, 2019-04-01).
* Help: Improve documentation formatingBartosz Kosiorek2019-04-0464-167/+173
|
* Xcode: Create Xcode schemes per targetHarry Mallon2019-03-2120-19/+58
|
* XCode: Add scheme option XCODE_SCHEME_DEBUG_AS_ROOTHarry Mallon2019-03-111-0/+7
|
* Help: Link from EXPORT_NAME to relevant export commandsNeroBurner2019-02-271-3/+3
|
* Merge topic 'docs-rpath-origin-apple'Brad King2019-02-271-7/+7
|\ | | | | | | | | | | | | bf10f02441 Help: Fix minor inaccuracies of what BUILD_RPATH_USE_ORIGIN affects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3020
| * Help: Fix minor inaccuracies of what BUILD_RPATH_USE_ORIGIN affectsCraig Scott2019-02-271-7/+7
| |
* | Merge topic 'vs-wince-no-deploy'Brad King2019-02-261-0/+46
|\ \ | | | | | | | | | | | | | | | | | | 917c035ada VS: support suppressing deployment of selected targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2991
| * | VS: support suppressing deployment of selected targetsWil Stark2019-02-251-0/+46
| |/ | | | | | | | | | | | | | | Add a `VS_NO_SOLUTION_DEPLOY` target property to explicitly specify for each target whether to suppress VS solution deployment of the generated target project. Fixes: #18953
* | EXCLUDE_FROM_ALL: Don't warn if installing target excluded from allCraig Scott2019-02-211-2/+10
|/ | | | | | | | | The original warning pre-dates support for install components. There are now legitimate scenarios where an install(TARGETS) command may list a target that is excluded from all, e.g. hierarchical projects that will never install the component such a target belongs to. Fixes: #18938
* GHS: Document usage of GHS_NO_SOURCE_GROUP_FILEFred Baksik2019-02-081-0/+13
| | | | -- Also change variable name to CMAKE_GHS_NO_SOURCE_GROUP_FILE
* CUDA: Honor CUDA_RESOLVE_DEVICE_SYMBOLS for more target typesRobert Maynard2019-02-051-3/+9
| | | | | | | `CUDA_RESOLVE_DEVICE_SYMBOLS` can be used with shared, module, and executable target types. This relaxation is to allow for better interoperability with linkers that automatically do CUDA device symbol resolution and have no way to disable it.
* Merge topic 'exclude_from_all'Brad King2019-01-251-0/+3
|\ | | | | | | | | | | | | dc6888573d Pass EXCLUDE_FROM_ALL from directory to targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2816
| * Pass EXCLUDE_FROM_ALL from directory to targetsZack Galbreath2019-01-211-0/+3
| | | | | | | | | | | | 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.
* | GHS: Integrity Application updatesFred Baksik2019-01-161-0/+10
|/ | | | | | | | | | | | | | | | | -- Check the property "ghs_integrity_app" on executables to set [INTEGRITY Application] If the property is not set then check if an integrate file is one of the source files (.int file). Dynamic Downloads that do not have an integrate file can use this property along with setting the compiler flag "-dynamic". -- Remove parsing for -dynamic flag; it is only used to print a comment The MULTI GUI will show if it is a Monolith or Dynamic Download application -- Use project references to specify which executables are part of the Integrity Application Usually Implicit Dependency Analysis will ensure that executable targets become part of the application. This does not work for Dynamic Download without integrate files. Use `add_dependencies(dd vas)` to mark that the vas target is part of dd target. -- Update file locations in the Integrate files.
* Merge topic 'doc-roff-fix'Brad King2019-01-111-2/+2
|\ | | | | | | | | | | | | 9922e70b1a Help: Prevent .so from being treated as a roff macro Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2756
| * Help: Prevent .so from being treated as a roff macroRaf Czlonka2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Move `.so` to the line above - otherwise it is being treated as a `roff` macro, i.e.: $ mandoc -Tlint /usr/local/man/man7/cmake-properties.7 | head -n 3 mandoc: /usr/local/man/man7/cmake-properties.7:1131:2: WARNING: .so is fragile, better use ln(1): so libraries. mandoc: /usr/local/man/man7/cmake-properties.7: ERROR: No such file or directory mandoc: /usr/local/man/man7/cmake-properties.7:1131:15: ERROR: .so request failed: .so libraries. and causes other issues down the line.
* | Autogen: Add AUTO(MOC|RCC|UIC)_EXECUTABLE target propertiesTobias Hunger2019-01-106-0/+54
| | | | | | | | | | | | | | | | | | | | Allow to force moc/rcc/uic compiler used for AUTO(MOC|RCC|UIC). Setting these properties is only necessary if you are going to do strange things like build these tools as part of your own build system. Setting these properties will also prevent cmake from testing the binary: It is user-provided and assumed to be valid.
* | PIE link options: Update strategy to fix performance regressionMarc Chevrier2018-12-191-0/+5
|/ | | | Fixes: #18700
* Autogen: Documentation updatesSebastian Holtermann2018-11-262-25/+36
| | | | | | | | This extends the documentation for - :prop_tgt:`AUTOGEN_ORIGIN_DEPENDS` - :prop_tgt:`AUTOGEN_TARGET_DEPENDS` - :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET`
* Help: Spell out MFCJoachim Wuttke (o)2018-11-141-3/+4
| | | | And shorten text that was hard to understand and redundant.
* Help: Add links to variablesJoachim Wuttke (o)2018-11-141-4/+4
|
* Merge topic 'pie-link-options'Craig Scott2018-11-121-0/+6
|\ | | | | | | | | | | | | | | | | c4b4d8b3a6 POSITION_INDEPENDENT_CODE: Manage link flags for executables 724a0346f7 POSITION_INDEPENDENT_CODE: Fix erroneous '-fPIE' flag for Sun Studio 023188ffb4 INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2465
| * INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions supportMarc Chevrier2018-11-081-0/+6
| | | | | | | | Fixes: #16532
* | Autogen: Add documentation for CMAKE_GLOBAL_AUTOGEN/RCC_TARGETSebastian Holtermann2018-11-113-0/+12
|/
* Autogen: Update <ORIGIN>_autogen target documentationSebastian Holtermann2018-11-053-4/+4
|
* Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS documentationSebastian Holtermann2018-11-032-3/+35
|
* Merge topic 'no-smiley'Brad King2018-10-2913-13/+13
|\ | | | | | | | | | | | | 24fa04018c Help: Spell out ";-list" as "semicolon-separated list" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2528
| * Help: Spell out ";-list" as "semicolon-separated list"Joachim Wuttke (o)2018-10-2513-13/+13
| |
* | RPATH: Add option for using $ORIGIN in build treePeter Wu2018-10-261-0/+24
|/ | | | | | | | | This makes binaries independent of the build directory by not embedding the build directory via RPATH. The tests are partially based on the existing RuntimePath test, but with the check moved into a POST_BUILD command such that it can be skipped when the platform lacks support. Fixes: #18413
* Fail the build if cppcheck returns a non-zero exit codeHarald Brinkmann2018-10-111-1/+3
| | | | | This allows the build failure to be tuned with cppcheck's options --error-exitcode=<n> and --exitcode-suppressions=<file>.
* 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.