mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
commit
f260a75c14
@ -18,7 +18,7 @@ The Windows build of libModSecurity uses Build Tools for Visual Studio 2022 (for
|
|||||||
* Windows SDK
|
* Windows SDK
|
||||||
* CMake
|
* CMake
|
||||||
* Address Sanitizer
|
* 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:
|
* 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`
|
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`
|
2. Execute: `conan profile detect --force`
|
||||||
@ -30,7 +30,7 @@ The Windows build of libModSecurity uses Build Tools for Visual Studio 2022 (for
|
|||||||
|
|
||||||
## Build
|
## 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]
|
vcbuild.bat [build_configuration] [arch] [USE_ASAN]
|
||||||
|
@ -35,7 +35,7 @@ RUN %INSTALLER% /SP- /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL `
|
|||||||
/NORESTART /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /LOADINF=git.inf
|
/NORESTART /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /LOADINF=git.inf
|
||||||
|
|
||||||
# download & setup conan
|
# download & setup conan
|
||||||
ARG CONAN_VERSION=2.2.2
|
ARG CONAN_VERSION=2.10.2
|
||||||
ARG CONAN_BINARY=conan-${CONAN_VERSION}-windows-x86_64-installer.exe
|
ARG CONAN_BINARY=conan-${CONAN_VERSION}-windows-x86_64-installer.exe
|
||||||
ARG CONAN_URL=https://github.com/conan-io/conan/releases/download/${CONAN_VERSION}/${CONAN_BINARY}
|
ARG CONAN_URL=https://github.com/conan-io/conan/releases/download/${CONAN_VERSION}/${CONAN_BINARY}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user