Fix new target commands documentation.
The target_include_directories and target_compile_defintions commands
accepted targets as arguments until commit f6b16d4b
(Don't allow
targets args in the new target commands., 2013-01-29). This followed
from discussion on the mailing list (target_include_directories() accepts
only absolute paths ?, 2013-01-28):
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/5925/focus=5948
http://public.kitware.com/pipermail/cmake-developers/2013-January/006301.html
It was also decided to allow relative paths in target_include_directories().
This commit is contained in:
parent
ddbe2e1d7d
commit
2e80f9f21f
|
@ -56,8 +56,7 @@ public:
|
||||||
" target_compile_definitions(<target> "
|
" target_compile_definitions(<target> "
|
||||||
"<INTERFACE|PUBLIC|PRIVATE> [items1...]\n"
|
"<INTERFACE|PUBLIC|PRIVATE> [items1...]\n"
|
||||||
" [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])\n"
|
" [<INTERFACE|PUBLIC|PRIVATE> [items2...] ...])\n"
|
||||||
"Specify compile definitions or targets to use when compiling a given "
|
"Specify compile definitions to use when compiling a given target. "
|
||||||
"target. "
|
|
||||||
"The named <target> must have been created by a command such as "
|
"The named <target> must have been created by a command such as "
|
||||||
"add_executable or add_library and must not be an IMPORTED target. "
|
"add_executable or add_library and must not be an IMPORTED target. "
|
||||||
"The INTERFACE, PUBLIC and PRIVATE keywords are required to specify "
|
"The INTERFACE, PUBLIC and PRIVATE keywords are required to specify "
|
||||||
|
@ -65,8 +64,7 @@ public:
|
||||||
"populate the COMPILE_DEFINITIONS property of <target>. PUBLIC and "
|
"populate the COMPILE_DEFINITIONS property of <target>. PUBLIC and "
|
||||||
"INTERFACE items will populate the INTERFACE_COMPILE_DEFINITIONS "
|
"INTERFACE items will populate the INTERFACE_COMPILE_DEFINITIONS "
|
||||||
"property of <target>. "
|
"property of <target>. "
|
||||||
"The non-scope arguments specify compile definitions or targets to use "
|
"The following arguments specify compile definitions. "
|
||||||
"INTERFACE_COMPILE_DEFINITIONS from. "
|
|
||||||
"Repeated calls for the same <target> append items in the order called."
|
"Repeated calls for the same <target> append items in the order called."
|
||||||
"\n"
|
"\n"
|
||||||
"Arguments to target_compile_definitions may use \"generator "
|
"Arguments to target_compile_definitions may use \"generator "
|
||||||
|
|
|
@ -68,9 +68,8 @@ public:
|
||||||
"populate the INCLUDE_DIRECTORIES property of <target>. PUBLIC and "
|
"populate the INCLUDE_DIRECTORIES property of <target>. PUBLIC and "
|
||||||
"INTERFACE items will populate the INTERFACE_INCLUDE_DIRECTORIES "
|
"INTERFACE items will populate the INTERFACE_INCLUDE_DIRECTORIES "
|
||||||
"property of <target>. "
|
"property of <target>. "
|
||||||
"The non-scope arguments specify either include directories or targets "
|
"The following arguments specify include directories. Specified "
|
||||||
"to use INTERFACE_INCLUDE_DIRECTORIES from. Any specified include "
|
"include directories may be absolute paths or relative paths. "
|
||||||
"directories must be absolute paths, not relative paths. "
|
|
||||||
"Repeated calls for the same <target> append items in the order called."
|
"Repeated calls for the same <target> append items in the order called."
|
||||||
"\n"
|
"\n"
|
||||||
"Arguments to target_include_directories may use \"generator "
|
"Arguments to target_include_directories may use \"generator "
|
||||||
|
|
Loading…
Reference in New Issue