From ab80127d0975fd6603f9236815dce4c2479ef077 Mon Sep 17 00:00:00 2001 From: Neil Monday Date: Wed, 11 Dec 2024 13:19:07 -0500 Subject: [PATCH] Updating the build doc --- docs/BUILDING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/BUILDING.md b/docs/BUILDING.md index 6f7f25d70..e7e623e3d 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -13,7 +13,7 @@ To build with Visual Studio: ``` mkdir build cd build -cmake -G "Visual Studio 15 2019 Win64" .. +cmake -G "Visual Studio 17 2022" -A x64 .. cmake --build . --config Debug cmake --build . --config Release cmake --build . --config RelWithDebInfo @@ -112,8 +112,8 @@ target_link_libraries([lib_name] PRIVATE snmalloc_lib) You will also need to compile the relevant parts of snmalloc itself. Create a new file with the following contents and compile it with the rest of your application. ```c++ -#include "snmalloc/src/override/malloc.cc" -#include "snmalloc/src/override/new.cc" +#include "src/snmalloc/override/malloc.cc" +#include "src/snmalloc/override/new.cc" ``` To enable the `reallocarray` symbol export, this can be added to your cmake command line.