You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/linux-asan-configuration.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,9 @@ You can pass optional ASan runtime flags by navigating to **Configuration Proper
39
39
40
40
## Enable ASan for Visual Studio CMake projects
41
41
42
+
> [!NOTE]
43
+
> When building with CMake Presets, ASan must be enabled in your CMakeLists.txt. See [Enable AddressSanitizer for Windows and Linux](../build/cmake-presets-vs.md#enable-addresssanitizer-for-windows-and-linux) for more information.
44
+
42
45
To enable ASan for CMake, right-click on the CMakeLists.txt file in **Solution Explorer** and choose **CMake Settings for Project**.
43
46
44
47
Make sure you have a Linux configuration (for example, **Linux-Debug**) selected in the left pane of the dialog:
0 commit comments