Skip to content

Commit

Permalink
Document CMAKE_VS_DEBUGGER_ENVIRONMENT behaviour (#3639)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcar87 authored Mar 19, 2024
1 parent 8cbeacc commit c7be98c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reference/tools/cmake/cmaketoolchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ translated from the current ``settings``:
- Definition of the C++ standard as necessary
- Definition of the standard library used for C++
- Deactivation of rpaths in OSX
- Definition of ``CMAKE_VS_DEBUGGER_ENVIRONMENT`` when on Windows with Visual Studio.
This sets up the ``PATH`` environment variable to point to directories containing DLLs,
to allow debugging directly from the Visual Studio IDE without copying DLLs (requires CMake 3.27).

- **conanvcvars.bat**: In some cases, the Visual Studio environment needs to be defined correctly for building,
like when using the Ninja or NMake generators. If necessary, the ``CMakeToolchain`` will generate this script,
Expand Down

0 comments on commit c7be98c

Please sign in to comment.