Skip to content

Commit b108641

Browse files
authored
add ctest_args docs (#4324)
1 parent 1082bd3 commit b108641

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎reference/tools/cmake/cmake.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ The ``CMake()`` build helper is affected by these ``[conf]`` variables:
8585

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

88+
- ``tools.cmake:ctest_args`` (Since Conan 2.23.0) will inject a list of arguments to the ``CMake.ctest()`` runner. For example, ``tools.cmake:ctest_args=["--debug", "--output-junit myfile"]`` will add these arguments to the ctest command.
89+
8890
- ``tools.cmake:install_strip`` (**deprecated** use ``tools.build:install_strip``) will pass ``--strip`` to the ``cmake --install`` call if set to ``True``.
8991

9092
- ``tools.build:install_strip`` (Since Conan 2.18.0) will pass ``--strip`` to the ``cmake --install`` call if set to ``True``.

0 commit comments

Comments
 (0)