Skip to content

Commit f10f202

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#3095 from esweet431/patch-32
Link to CMake Presets
2 parents 396028b + e71ab80 commit f10f202

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+
> 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).
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)