Просмотр исходного кода

Merge topic 'doc-add_dependencies-no-install'

9504d7a9 Help: Explicitly mention lack of 'install' support in add_dependencies
Brad King 10 лет назад
Родитель
Сommit
40bad51490
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      Help/command/add_dependencies.rst

+ 2 - 1
Help/command/add_dependencies.rst

@@ -10,7 +10,8 @@ Add a dependency between top-level targets.
 Make a top-level ``<target>`` depend on other top-level targets to
 ensure that they build before ``<target>`` does.  A top-level target
 is one created by one of the :command:`add_executable`,
-:command:`add_library`, or :command:`add_custom_target` commands.
+:command:`add_library`, or :command:`add_custom_target` commands
+(but not targets generated by CMake like ``install``).
 
 Dependencies added to an :ref:`imported target <Imported Targets>`
 or an :ref:`interface library <Interface Libraries>` are followed