[Cmake-commits] CMake branch, next, updated. v2.8.12.2-7459-gdbd4d5f
Stephen Kelly
steveire at gmail.com
Wed Feb 5 17:28:19 EST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via dbd4d5f55534234bffd88fa021c1da8ba5162713 (commit)
via 4bb7615dabf0d1d00e61c3f91f08e8adcb68c2e4 (commit)
from a5498254c7675145a248c68bedd636af767270f2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dbd4d5f55534234bffd88fa021c1da8ba5162713
commit dbd4d5f55534234bffd88fa021c1da8ba5162713
Merge: a549825 4bb7615
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Feb 5 17:28:19 2014 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed Feb 5 17:28:19 2014 -0500
Merge topic 'update-buildsystem-docs' into next
4bb7615d Add note about commands for defines and includes.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4bb7615dabf0d1d00e61c3f91f08e8adcb68c2e4
commit 4bb7615dabf0d1d00e61c3f91f08e8adcb68c2e4
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Wed Feb 5 23:27:40 2014 +0100
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Wed Feb 5 23:27:40 2014 +0100
Add note about commands for defines and includes.
diff --git a/Help/command/target_compile_options.rst b/Help/command/target_compile_options.rst
index eb1d874..0fdeba6 100644
--- a/Help/command/target_compile_options.rst
+++ b/Help/command/target_compile_options.rst
@@ -15,6 +15,14 @@ named ``<target>`` must have been created by a command such as
:prop_tgt:`IMPORTED Target`. If ``BEFORE`` is specified, the content will
be prepended to the property instead of being appended.
+This command can be used to add any options, but
+alternative commands exist to add preprocessor definitions
+(:command:`target_compile_definitions` and :command:`add_definitions`) or
+include directories (:command:`target_include_directories` and
+:command:`include_directories`). See documentation of the
+:prop_tgt:`directory <COMPILE_OPTIONS>` and
+:prop_tgt:` target <COMPILE_OPTIONS>` ``COMPILE_OPTIONS`` properties.
+
The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to
specify the scope of the following arguments. ``PRIVATE`` and ``PUBLIC``
items will populate the :prop_tgt:`COMPILE_OPTIONS` property of
-----------------------------------------------------------------------
Summary of changes:
Help/command/target_compile_options.rst | 8 ++++++++
1 file changed, 8 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list