summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-14 13:19:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-09-14 13:19:55 (GMT)
commite32604d67be88dda63601eec5bfe734657b0d2ac (patch)
tree5e94e7f39d104c7863f2ee900ad677fadd660bdb
parent8af34749fe95e03596db0fd79184e2adf8d8b1fb (diff)
parent2468eb33b98fc4b315a40e14f146c29590ba666b (diff)
downloadCMake-e32604d67be88dda63601eec5bfe734657b0d2ac.zip
CMake-e32604d67be88dda63601eec5bfe734657b0d2ac.tar.gz
CMake-e32604d67be88dda63601eec5bfe734657b0d2ac.tar.bz2
Merge topic 'doc-OBJECT_DEPENDS-limitations'
2468eb33 Help: Document limitations of the OBJECT_DEPENDS source file property
-rw-r--r--Help/prop_sf/OBJECT_DEPENDS.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/Help/prop_sf/OBJECT_DEPENDS.rst b/Help/prop_sf/OBJECT_DEPENDS.rst
index 18022de..1d24960 100644
--- a/Help/prop_sf/OBJECT_DEPENDS.rst
+++ b/Help/prop_sf/OBJECT_DEPENDS.rst
@@ -3,9 +3,12 @@ OBJECT_DEPENDS
Additional files on which a compiled object file depends.
-Specifies a semicolon-separated list of full-paths to files on which
-any object files compiled from this source file depend. An object
-file will be recompiled if any of the named files is newer than it.
+Specifies a :ref:`;-list <CMake Language Lists>` of full-paths to
+files on which any object files compiled from this source file depend.
+On :ref:`Makefile Generators` and the :generator:`Ninja` generator an
+object file will be recompiled if any of the named files is newer than it.
+:ref:`Visual Studio Generators` and the :generator:`Xcode` generator
+cannot implement such compilation dependencies.
This property need not be used to specify the dependency of a source
file on a generated header file that it includes. Although the
@@ -14,5 +17,5 @@ necessary. If the generated header file is created by a custom
command in the same target as the source file, the automatic
dependency scanning process will recognize the dependency. If the
generated header file is created by another target, an inter-target
-dependency should be created with the add_dependencies command (if one
-does not already exist due to linking relationships).
+dependency should be created with the :command:`add_dependencies`
+command (if one does not already exist due to linking relationships).