Fixed compilation warnings on Windows

This commit is contained in:
Alexey Pustovalov 2022-01-22 17:35:18 +05:00
parent f6340c05b5
commit edd6d8fd46
2 changed files with 1 additions and 3 deletions

View File

@ -166,8 +166,7 @@ RUN Set-Location -Path $env:SystemDrive\.; `
cmake --log-level=ERROR `
-G 'Visual Studio 16 2019' `
-A $env:BUILD_ARCH `
-DPCRE_SUPPORT_UNICODE_PROPERTIES=ON `
-DPCRE_SUPPORT_UTF=ON `
-DBUILD_SHARED_LIBS=OFF `
-DCMAKE_C_FLAGS_RELEASE:string="""/MT""" ..; `
msbuild PCRE2.sln `
-maxcpucount:"""$env:NUMBER_OF_PROCESSORS""" `

View File

@ -189,7 +189,6 @@ RUN Set-Location -Path $env:SystemDrive\.; `
-DBUILD_SHARED_LIBS=OFF `
-DCMAKE_C_COMPILER=gcc `
-DCMAKE_C_FLAGS='-O2 -g' `
-DCMAKE_CXX_FLAGS='-O2 -g' `
-DCMAKE_INSTALL_PREFIX="""$env:SystemDrive\pcre2_output""" . ; `
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS"""; `
mingw32-make -s -j"""$env:NUMBER_OF_PROCESSORS""" install; `