Skip to content

Commit 1ae86ae

Browse files
authored
Merge pull request #4121 from uilianries/feature/build-strip-install
Document config tools.build:install_strip
1 parent fae4858 commit 1ae86ae

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

reference/tools/cmake/cmake.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CMake
66
The ``CMake`` build helper is a wrapper around the command line invocation of cmake. It will abstract the
77
calls like ``cmake --build . --config Release`` into Python method calls. It will also add the argument
88
``-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake`` (from the generator ``CMakeToolchain``) to the ``configure()`` call,
9-
as well as other possible arguments like ``-DCMAKE_BUILD_TYPE=<config>``. The arguments that will be used are obtained from a
9+
as well as other possible arguments like ``-DCMAKE_BUILD_TYPE=<config>``. The arguments that will be used are obtained from a
1010
generated ``CMakePresets.json`` file.
1111

1212
The helper is intended to be used in the ``build()`` method, to call CMake commands automatically
@@ -65,4 +65,6 @@ The ``CMake()`` build helper is affected by these ``[conf]`` variables:
6565

6666
- ``tools.cmake:cmake_program`` specify the location of the CMake executable, instead of using the one found in the ``PATH``.
6767

68-
- ``tools.cmake:install_strip`` will pass ``--strip`` to the ``cmake --install`` call if set to ``True``.
68+
- ``tools.cmake:install_strip`` (**deprecated** use ``tools.build:install_strip``) will pass ``--strip`` to the ``cmake --install`` call if set to ``True``.
69+
70+
- ``tools.build:install_strip`` (Since Conan 2.18.0) will pass ``--strip`` to the ``cmake --install`` call if set to ``True``.

reference/tools/meson/meson.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ The ``Meson`` build helper is affected by these ``[conf]`` variables:
4545
- ``tools.compilation:verbosity`` which accepts one of ``quiet`` or ``verbose`` and sets the ``--verbose`` flag in ``Meson.build()``
4646

4747
- ``tools.build:verbosity`` which accepts one of ``quiet`` or ``verbose`` and sets the ``--quiet`` flag in ``Meson.install()``
48+
49+
- ``tools.build:install_strip`` (Since Conan 2.18.0) will pass ``--strip`` to the ``meson install`` call if set to ``True``.

0 commit comments

Comments
 (0)