Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BUILDING.md #704

Closed
NeilMonday opened this issue Dec 11, 2024 · 1 comment
Closed

Update BUILDING.md #704

NeilMonday opened this issue Dec 11, 2024 · 1 comment

Comments

@NeilMonday
Copy link
Contributor

Hello snmalloc developers. I was going through the build in my project and saw a couple of things that might need updating.

First, it looks like Visual Studio 15 aligns with 2017, not 2019.

It appears this style of generator name "Visual Studio 15 2019 Win64" are for compatibility with CMake versions before 3.1 which was around 2014. In modern CMake, the Visual Studio generator is specified like so:

cmake -G "Visual Studio 15 2017" -A Win32
cmake -G "Visual Studio 15 2017" -A x64
cmake -G "Visual Studio 15 2017" -A ARM
cmake -G "Visual Studio 15 2017" -A ARM64

Since you mention VS 2022 being used in CI regularly, it seems like that should be the generator used in the doc.

The path to malloc.cc and new.cc seem incorrect. Maybe it changed overtime and wasn't updated in the doc.

@mjp41
Copy link
Member

mjp41 commented Dec 11, 2024

Closed by #705

@mjp41 mjp41 closed this as completed Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants