mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-02 14:03:41 +01:00
Hardcode -DCMAKE_BUILD_TYPE=release
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
@@ -273,10 +273,10 @@ build_script:
|
|||||||
if ($env:builder -eq "cmake")
|
if ($env:builder -eq "cmake")
|
||||||
{
|
{
|
||||||
mkdir cmake-build | out-null;pushd cmake-build;
|
mkdir cmake-build | out-null;pushd cmake-build;
|
||||||
cmake ../. -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=$env:configuration -DENABLE_SAMPLES=ON -DENABLE_TESTS=ON -DENABLE_NETSSL=OFF -DENABLE_NETSSL_WIN=ON -DENABLE_DATA_MYSQL=OFF -DENABLE_REDIS=OFF;
|
cmake ../. -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=release -DENABLE_SAMPLES=ON -DENABLE_TESTS=ON -DENABLE_NETSSL=OFF -DENABLE_NETSSL_WIN=ON -DENABLE_DATA_MYSQL=OFF -DENABLE_REDIS=OFF;
|
||||||
try {
|
try {
|
||||||
$ErrorActionPreference = 'Continue';
|
$ErrorActionPreference = 'Continue';
|
||||||
cmake --build . --config $env:configuration
|
cmake --build . --config release
|
||||||
} catch {
|
} catch {
|
||||||
Write-Warning "Oops: $_"
|
Write-Warning "Oops: $_"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user