summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-04 15:53:02 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-12-04 15:53:07 (GMT)
commite841ae823edc3021aaa5b297be715344a9bca47e (patch)
treef33130ad7b57d87d85537123f55afad31705ab19
parentd5681e353ad94db8cfd0343bd50b090a6cda8c71 (diff)
parent4c40ab261c94a72ba5dcd9fab47c035d94a22964 (diff)
downloadCMake-e841ae823edc3021aaa5b297be715344a9bca47e.zip
CMake-e841ae823edc3021aaa5b297be715344a9bca47e.tar.gz
CMake-e841ae823edc3021aaa5b297be715344a9bca47e.tar.bz2
Merge topic 'add_library-mention-xcode-objlib-behavior'
4c40ab26 add_library: mention that Xcode requires a real source file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Tom Hughes <tomtheengineer@gmail.com> Merge-request: !1549
-rw-r--r--Help/command/add_library.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst
index 4e85d8c..3706153 100644
--- a/Help/command/add_library.rst
+++ b/Help/command/add_library.rst
@@ -111,9 +111,9 @@ may contain only sources that compile, header files, and other files
that would not affect linking of a normal library (e.g. ``.txt``).
They may contain custom commands generating such sources, but not
``PRE_BUILD``, ``PRE_LINK``, or ``POST_BUILD`` commands. Object libraries
-cannot be linked. Some native build systems may not like targets that
-have only object files, so consider adding at least one real source file
-to any target that references ``$<TARGET_OBJECTS:objlib>``.
+cannot be linked. Some native build systems (such as Xcode) may not like
+targets that have only object files, so consider adding at least one real
+source file to any target that references ``$<TARGET_OBJECTS:objlib>``.
Alias Libraries
^^^^^^^^^^^^^^^