diff options
author | Brad King <brad.king@kitware.com> | 2014-12-01 13:57:34 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-12-01 13:57:34 (GMT) |
commit | 8e75f1d2fa3049ac31f4ebdbc255fca3e6414802 (patch) | |
tree | 4bb6af9da45afae0e91c2b19085157cbacc692fd /Help/prop_tgt | |
parent | 2a92231630b6aee671c7f4e8b64f69cfd172b9e3 (diff) | |
parent | 8a75c7ef32af391cb45af889d266e2a77daa61d6 (diff) | |
download | CMake-8e75f1d2fa3049ac31f4ebdbc255fca3e6414802.zip CMake-8e75f1d2fa3049ac31f4ebdbc255fca3e6414802.tar.gz CMake-8e75f1d2fa3049ac31f4ebdbc255fca3e6414802.tar.bz2 |
Merge topic 'target-sources-error-conditions'
8a75c7ef Help: Document the export limitation of INTERFACE_SOURCES.
e1348056 Export: Disallow export of targets with INTERFACE_SOURCES
bb5905bb cmTarget: Don't allow relative paths in INTERFACE_SOURCES
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/INTERFACE_SOURCES.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/prop_tgt/INTERFACE_SOURCES.rst b/Help/prop_tgt/INTERFACE_SOURCES.rst index a224b68..696ee95 100644 --- a/Help/prop_tgt/INTERFACE_SOURCES.rst +++ b/Help/prop_tgt/INTERFACE_SOURCES.rst @@ -12,6 +12,10 @@ When target dependencies are specified using :command:`target_link_libraries`, CMake will read this property from all target dependencies to determine the sources of the consumer. +Targets with ``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. + Contents of ``INTERFACE_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)` |