Skip to content

Commit

Permalink
appveyor: more msvc flags
Browse files Browse the repository at this point in the history
the smoker has a mingw perl, which we need to override manually
  • Loading branch information
Reini Urban committed Dec 14, 2015
1 parent e82f9fc commit 7227e60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -10,7 +10,7 @@ platform:
- x86
environment:
matrix:
# - MSVC_VERSION: 10
- MSVC_VERSION: 10
- MSVC_VERSION: 12
clone_depth: 1
branches:
Expand Down
11 changes: 6 additions & 5 deletions tools/dev/appveyor-smoke.bat
Expand Up @@ -5,14 +5,15 @@ if "%MSVC_VERSION%" == "12" goto msvc_12
:msvc_12
if "%PLATFORM%" == "x64" set PLATFORM=amd64
call "C:\Program Files (x86)\Microsoft Visual Studio %MSVC_VERSION%.0\VC\vcvarsall.bat" %PLATFORM%

perl Configure.pl --optimize --cc=cl --ld=cl
nmake test
exit /b
goto start

:msvc_10
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%PLATFORM%

perl Configure.pl --optimize --cc=cl --ld=link
:start
echo %PLATFORM%
echo %MSVC_VERSION%
perl Configure.pl --verbose --optimize --cc=cl --ld=link --ccflags="-nologo -GF -W3 -MD -Zi -DNDEBUG -O2 -DWIN32 -D_CONSOLE -DNO_STRICT" --ldflags="-nologo -release" --linkflags="-nologo -release" --libs="ws2_32.lib"
nmake test
exit /b

0 comments on commit 7227e60

Please sign in to comment.