Update README.md

Update Windows README to use latest conan version and conan center.
This commit is contained in:
Elevations 2024-12-11 17:45:37 +13:00 committed by GitHub
parent d9101a4fe1
commit 17700eca5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,10 +18,13 @@ The Windows build of libModSecurity uses Build Tools for Visual Studio 2022 (for
* Windows SDK
* CMake
* Address Sanitizer
* [Conan package manager 2.2.2](https://github.com/conan-io/conan/releases/download/2.2.2/conan-2.2.2-windows-x86_64-installer.exe)
* [Conan package manager 2.10.2](https://github.com/conan-io/conan/releases/download/2.10.2/conan-2.10.2-windows-x86_64-installer.exe)
* Install and then setup the default Conan profile to use the MSVC C++ compiler:
1. Open a command-prompt and set the MSVC C++ compiler environment by executing: `C:\BuildTools\VC\Auxiliary\Build\vcvars64.bat`
2. Execute: `conan profile detect --force`
3. Make sure you are using latest conan center:
`conan remote list`
`conan remote update conan-center https://center.conan.io`
* [Git for Windows 2.44.0](https://github.com/git-for-windows/git/releases/download/v2.44.0.windows.1/Git-2.44.0-64-bit.exe)
* To clone the libModSecurity repository.
* NOTE: Make sure to initialize and update submodules (to get `libinjection` and regression tests)
@ -30,7 +33,7 @@ The Windows build of libModSecurity uses Build Tools for Visual Studio 2022 (for
## Build
Install the prerequisites listsed in the previous section, checkout libModSecurity and from the directory where it's located execute:
Install the prerequisites listed in the previous section, checkout libModSecurity and from the directory where it's located execute:
```
vcbuild.bat [build_configuration] [arch] [USE_ASAN]