mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 15:29:31 +03:00
update readme with clang-cl cmake instructions
This commit is contained in:
parent
1711a82756
commit
a3b813c2bb
1 changed files with 8 additions and 0 deletions
|
@ -231,6 +231,14 @@ The cmake build type is specified when actually building, for example:
|
||||||
> cmake --build . --config=Release
|
> cmake --build . --config=Release
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can also install the [LLVM toolset](https://learn.microsoft.com/en-us/cpp/build/clang-support-msbuild?view=msvc-170#install-1)
|
||||||
|
on Windows to build with the `clang-cl` compiler directly:
|
||||||
|
|
||||||
|
```
|
||||||
|
> cmake ../.. -G "Visual Studio 17 2022" -T ClangCl
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Single source
|
## Single source
|
||||||
|
|
||||||
You can also directly build the single `src/static.c` file as part of your project without
|
You can also directly build the single `src/static.c` file as part of your project without
|
||||||
|
|
Loading…
Add table
Reference in a new issue