Skip to content

Commit 38e6d6c

Browse files
authored
Merge pull request #3524 from MicrosoftDocs/master
4/21/2021 AM Publish
2 parents 6d2a4ab + ef90533 commit 38e6d6c

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)