Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/linux/linux-asan-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ You can pass optional ASan runtime flags by navigating to **Configuration Proper

## Enable ASan for Visual Studio CMake projects

> [!NOTE]
> To build with CMake Presets, first enable ASan in your CMakeLists.txt file. For more information, see [Enable AddressSanitizer for Windows and Linux](../build/cmake-presets-vs.md#enable-addresssanitizer-for-windows-and-linux).

To enable ASan for CMake, right-click on the CMakeLists.txt file in **Solution Explorer** and choose **CMake Settings for Project**.

Make sure you have a Linux configuration (for example, **Linux-Debug**) selected in the left pane of the dialog:
Expand Down