summaryrefslogtreecommitdiffstats
path: root/Help/command/target_sources.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Apply syntax highlighting to project commandsJoachim Wuttke (o)2018-10-251-2/+2
| | | | | | * Replace most "::" by ".. code-block:: cmake" * Header sentence in imperative voice, detailed command description in present tense.
* target_sources: Interpret relative paths as relative to the calling directoryPatrick Stotko2018-06-181-1/+6
| | | | | | | | | | Previously the command considered non-absolute source file paths relative to the associated target on the LHS. This causes problems in incremental builds where files are added from subdirectories and forces users to workaround by manually converting to absolute paths. Change this to enable more intuitive usage by projects. Fixes #17981
* Teach target_* commands to set INTERFACE properties of IMPORTED targetsDeniz Bahadir2017-10-261-3/+4
| | | | | | | | | | | Now, several `INTERFACE_*` properties can be set on `IMPORTED` targets, not only via `set_property` and `set_target_properties` but also via `target_compile_definitions`, `target_compile_features`, `target_compile_options`, `target_include_directories`, `target_sources` and `target_link_libraries`. Fixes: #15689 Issue: #17197
* Allow export of targets with INTERFACE_SOURCES.Stephen Kelly2015-02-101-4/+0
| | | | | | Use the same rules for paths in source and binary dirs in installed INTERFACE_SOURCES as are used for INTERFACE_INCLUDE_DIRECTORIES.
* Help: Document the export limitation of INTERFACE_SOURCES.Stephen Kelly2014-11-291-0/+4
|
* Help: Fix broken cross-references reported by 'nitpicky' optionBrad King2014-11-071-1/+1
| | | | | Enable the Sphinx 'nitpicky' option and fix the resulting warnings about dangling references.
* target_sources: New command to add sources to target.Stephen Kelly2014-04-021-0/+28