Skip to content

Commit 58fcdcc

Browse files
authored
Link to CMake Presets
1 parent 396028b commit 58fcdcc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/linux/linux-asan-configuration.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ You can pass optional ASan runtime flags by navigating to **Configuration Proper
3939

4040
## Enable ASan for Visual Studio CMake projects
4141

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+
4245
To enable ASan for CMake, right-click on the CMakeLists.txt file in **Solution Explorer** and choose **CMake Settings for Project**.
4346

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

0 commit comments

Comments
 (0)