From e280b25ff151e8adfd896efd33b42592b6e70cf0 Mon Sep 17 00:00:00 2001
From: retrotalker <42415066+retrotalker@users.noreply.github.com>
Date: Mon, 27 Aug 2018 14:12:27 -0500
Subject: [PATCH] appveyor libretro
---
appveyor.yml | 26 +++++++++++++++++++++-----
libretro/libretro-win32.vcxproj | 17 +++++++++++------
win32/snes9xw.vcxproj | 9 +++++++--
3 files changed, 39 insertions(+), 13 deletions(-)
diff --git a/appveyor.yml b/appveyor.yml
index db0c1c90..2346777b 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -18,6 +18,20 @@ environment:
output: win32\snes9x-x64.exe
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ - generator: "Visual Studio 15"
+ config: libretro Release
+ platform: Win32
+ arch: libretro
+ output: libretro\Win32\libretro Release\snes9x_libretro.dll
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+
+ - generator: "Visual Studio 15"
+ config: libretro Release
+ platform: x64
+ arch: libretro-x64
+ output: libretro\x64\libretro Release\snes9x_libretro.dll
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+
init:
- git config --global core.autocrlf input
@@ -25,7 +39,8 @@ before_build:
- git submodule update --init --recursive
build_script:
- - msbuild win32\snes9xw.sln /t:build /p:Configuration="%config%";Platform="%platform%" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+ - if "%config%"=="Release Unicode" msbuild win32\snes9xw.sln /t:build /p:Configuration="%config%";Platform="%platform%" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
+ - if "%config%"=="libretro Release" msbuild libretro\libretro-win32.vcxproj /t:build /p:Configuration="%config%";Platform="%platform%" /m /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
after_build:
- ps: $env:gitrev = git describe --tags
@@ -34,10 +49,11 @@ after_build:
- if exist artifacts rmdir /s /q artifacts
- mkdir artifacts
- copy "%output%" artifacts
- - copy docs\changes.txt artifacts
- - copy docs\snes9x-license.txt artifacts
- - copy win32\docs\faqs-windows.txt artifacts
- - copy win32\docs\readme-windows.txt artifacts
+ - if "%config%"=="Release Unicode"
+ copy docs\changes.txt artifacts |
+ copy docs\snes9x-license.txt artifacts |
+ copy win32\docs\faqs-windows.txt artifacts |
+ copy win32\docs\readme-windows.txt artifacts
- 7z a %package_name%.zip .\artifacts\*
artifacts:
diff --git a/libretro/libretro-win32.vcxproj b/libretro/libretro-win32.vcxproj
index 3b8039b6..29d60c83 100644
--- a/libretro/libretro-win32.vcxproj
+++ b/libretro/libretro-win32.vcxproj
@@ -70,25 +70,25 @@
$(Platform)\$(Configuration)\
$(Platform)\$(Configuration)\
true
- libretro_debug
+ snes9x_libretro_debug
$(Platform)\$(Configuration)\
$(Platform)\$(Configuration)\
true
- libretro_debug
+ snes9x_libretro_debug
$(Platform)\$(Configuration)\
$(Platform)\$(Configuration)\
false
- libretro
+ snes9x_libretro
$(Platform)\$(Configuration)\
$(Platform)\$(Configuration)\
false
- libretro
+ snes9x_libretro
@@ -243,7 +243,12 @@
-
+
+ true
+ true
+ true
+ true
+
@@ -300,4 +305,4 @@
-
\ No newline at end of file
+
diff --git a/win32/snes9xw.vcxproj b/win32/snes9xw.vcxproj
index 914dc713..b71eb392 100644
--- a/win32/snes9xw.vcxproj
+++ b/win32/snes9xw.vcxproj
@@ -451,7 +451,12 @@
-
+
+ true
+ true
+ true
+ true
+
@@ -717,4 +722,4 @@
-
\ No newline at end of file
+