Display cl version

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-19 15:39:34 +01:00
parent 544db5c73b
commit 559c5d385b

View File

@ -78,24 +78,23 @@ install:
}
# MySQL 32 bit is not available by default on AppVeyor
- ps: |
if ($env:platform -eq "Win32")
{
if (Test-Path "c:\mysql-5.7.9-win32") {
echo "using mysql-5.7.9-win32 from cache"
}
else
{
echo "downloading mysql-5.7.9-win32"
Invoke-WebRequest "http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.9-win32.zip" -OutFile mysql-5.7.9-win32.zip
echo "installing mysql-5.7.9-win32"
7z x -y mysql-5.7.9-win32.zip -oc:\
}
}
# - ps: |
# if ($env:platform -eq "Win32")
# {
# if (Test-Path "c:\mysql-5.7.9-win32") {
# echo "using mysql-5.7.9-win32 from cache"
# }
# else
# {
# echo "downloading mysql-5.7.9-win32"
# Invoke-WebRequest "http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.9-win32.zip" -OutFile mysql-5.7.9-win32.zip
# echo "installing mysql-5.7.9-win32"
# 7z x -y mysql-5.7.9-win32.zip -oc:\
# }
# }
before_build:
- set POCO_BASE=%CD%
- ps: |
if ($env:vsver -eq "120")
{
@ -123,6 +122,9 @@ before_build:
$env:suffix = 64
}
}
- set POCO_BASE=%CD%
- where cl
- cl
# MySQL
- ps: |
@ -176,7 +178,7 @@ build_script:
{
mkdir cmake-build | out-null;cd cmake-build;
cmake ../. -G"NMake Makefiles JOM" -DENABLE_TESTS=ON -DENABLE_NETSSL_OPENSSL=OFF -DENABLE_NETSSL_WIN=ON -DENABLE_DATA_MYSQL=OFF -DENABLE_REDIS=OFF;
cmake --build . --config $enc:configuration -- /nologo;
cmake --build . --config $env:configuration -- /nologo;
}