diff options
author | Brad King <brad.king@kitware.com> | 2017-12-04 15:53:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-12-04 15:53:07 (GMT) |
commit | e841ae823edc3021aaa5b297be715344a9bca47e (patch) | |
tree | f33130ad7b57d87d85537123f55afad31705ab19 | |
parent | d5681e353ad94db8cfd0343bd50b090a6cda8c71 (diff) | |
parent | 4c40ab261c94a72ba5dcd9fab47c035d94a22964 (diff) | |
download | CMake-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.rst | 6 |
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 ^^^^^^^^^^^^^^^ |