Skip to content

Commit

Permalink
add notes about future deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 committed Sep 4, 2024
1 parent cf9628b commit b647cd8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions cmake/BLTInstallableMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,11 @@ endmacro(blt_find_target_dependencies)
## [QUIET])
##
## Converts existing interface includes to system interface includes.
##
## Note: The argument ``TARGET`` will be deprecated in the near future. Until then,
## if both ``TARGET`` and ``TARGETS`` is given, all given target include
## directories will be converted.
##
##------------------------------------------------------------------------------
function(blt_convert_to_system_includes)
set(options QUIET)
Expand Down
8 changes: 6 additions & 2 deletions docs/api/utility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,12 @@ blt_convert_to_system_includes
Converts existing interface includes to system interface includes.
Warns if a target does not exist unless ``QUIET`` is specified.
Recurses through link libraries and interface link libraries if
``CHILDREN TRUE`` is specified. If both ``TARGET`` and ``TARGETS``
is given, all given target include directories will be converted.
``CHILDREN TRUE`` is specified.

.. note::
The argument ``TARGET`` will be deprecated in the near future. Until then,
if both ``TARGET`` and ``TARGETS`` is given, all given target include
directories will be converted.

.. code-block:: cmake
:caption: **Example**
Expand Down

0 comments on commit b647cd8

Please sign in to comment.