Spec-Zone.ru › CMake

MacroAddFileDependencies

Deprecated since version 3.14: Do not use this module in new code.

Instead use the set_property() command to append to the OBJECT_DEPENDS source file property directly:

set_property(SOURCE <source> APPEND PROPERTY OBJECT_DEPENDS <files>...)

Load this module in a CMake project with:

include(MacroAddFileDependencies)

Commands

This module provides the following command:

macro_add_file_dependencies

Adds dependencies to a source file:

macro_add_file_dependencies(<source> <files>...)

This command adds the given <files> to the dependencies of file <source>.

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/module/MacroAddFileDependencies.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API