From c95d82c936484f8b7bc8481bdf3e7a0fbc67c06d Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Fri, 21 Jul 2017 16:30:47 +0200 Subject: [PATCH] vpcd-config: remove windows default libraries removes clumsy VS project and directly builds on the command line instead --- ACardEmulator/app/app.iml | 14 ++-- appveyor.yml | 12 ++- remote-reader/app/app.iml | 39 ++++++---- remote-reader/remote-reader.iml | 2 +- .../win32/vpcd-config/vpcd-config.sln | 20 ----- .../win32/vpcd-config/vpcd-config.vcxproj | 74 ------------------- 6 files changed, 41 insertions(+), 120 deletions(-) delete mode 100644 virtualsmartcard/win32/vpcd-config/vpcd-config.sln delete mode 100644 virtualsmartcard/win32/vpcd-config/vpcd-config.vcxproj diff --git a/ACardEmulator/app/app.iml b/ACardEmulator/app/app.iml index fdb81bf..44206a3 100644 --- a/ACardEmulator/app/app.iml +++ b/ACardEmulator/app/app.iml @@ -67,13 +67,6 @@ - - - - - - - @@ -81,6 +74,13 @@ + + + + + + + diff --git a/appveyor.yml b/appveyor.yml index 2fe0e31..9e9ffbd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,10 +9,12 @@ install: - ps: >- If ($env:Platform -Match "x86") { $env:MSBUILD_PLATFORM="x86" + $env:VCVARS_PLATFORM="x86" $env:ARTIFACT="vpcd_win32" $env:X64="" } Else { $env:MSBUILD_PLATFORM="x64" + $env:VCVARS_PLATFORM="amd64" $env:ARTIFACT="vpcd_win64" $env:X64="x64\" } @@ -21,14 +23,20 @@ install: # BUGFIX: wdf directory was renamed to 00wdf, rename it back (see github.com/appveyor/ci/issues/414) - ps: ren 'C:\Program Files (x86)\Windows Kits\10\include\00wdf' 'wdf' + # set Visual Studio 2015 build environment + - set VSVER=14 + - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) + - echo "Using Visual Studio %VSVER%.0 at %VSCOMNTOOLS%" + - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% + build_script: - md %ARTIFACT% - msbuild virtualsmartcard\win32\BixVReader.sln /p:Configuration=Release;Platform=%MSBUILD_PLATFORM% - move virtualsmartcard\win32\BixVReaderInstaller\bin\%X64%Release\BixVReaderInstaller.msi %ARTIFACT% - - msbuild virtualsmartcard\win32\vpcd-config\vpcd-config.sln /p:Configuration="Debug" /p:Platform=Win32 - - move virtualsmartcard\win32\vpcd-config\Debug\vpcd-config.exe %ARTIFACT% + - cl /Ivirtualsmartcard\src\vpcd virtualsmartcard\src\vpcd-config\vpcd-config.c /NODEFAULTLIB:MSVCRTD /NODEFAULTLIB:MSVCRT virtualsmartcard\src\vpcd-config\local-ip.c ws2_32.lib + - move vpcd-config.exe %ARTIFACT% - 7z a %ARTIFACT%.zip %ARTIFACT% - appveyor PushArtifact %ARTIFACT%.zip diff --git a/remote-reader/app/app.iml b/remote-reader/app/app.iml index b4f6fd1..74ea2df 100644 --- a/remote-reader/app/app.iml +++ b/remote-reader/app/app.iml @@ -9,13 +9,9 @@