mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Merge topic 'target-sources-error-conditions'
8a75c7efHelp: Document the export limitation of INTERFACE_SOURCES.e1348056Export: Disallow export of targets with INTERFACE_SOURCESbb5905bbcmTarget: Don't allow relative paths in INTERFACE_SOURCES
This commit is contained in:
@@ -22,6 +22,10 @@ items will populate the :prop_tgt:`SOURCES` property of
|
||||
following arguments specify sources. Repeated calls for the same
|
||||
``<target>`` append items in the order called.
|
||||
|
||||
Targets with :prop_tgt:`INTERFACE_SOURCES` may not be exported with the
|
||||
:command:`export` or :command:`install(EXPORT)` commands. This limitation may be
|
||||
lifted in a future version of CMake.
|
||||
|
||||
Arguments to ``target_sources`` may use "generator expressions"
|
||||
with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
|
||||
manual for available expressions. See the :manual:`cmake-buildsystem(7)`
|
||||
|
||||
Reference in New Issue
Block a user