summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-22 20:58:38 +0200
committeraap <aap@papnet.eu>2019-05-22 20:58:38 +0200
commit555b70a0b652fff099d1e878b9551a618ac0e3d2 (patch)
tree12592bc0ab006c8ca1567edbaf91ae9e18f2cfc5
parentadded CFont (diff)
parentMerge pull request #1 from ShFil119/appveyor (diff)
downloadre3-555b70a0b652fff099d1e878b9551a618ac0e3d2.tar
re3-555b70a0b652fff099d1e878b9551a618ac0e3d2.tar.gz
re3-555b70a0b652fff099d1e878b9551a618ac0e3d2.tar.bz2
re3-555b70a0b652fff099d1e878b9551a618ac0e3d2.tar.lz
re3-555b70a0b652fff099d1e878b9551a618ac0e3d2.tar.xz
re3-555b70a0b652fff099d1e878b9551a618ac0e3d2.tar.zst
re3-555b70a0b652fff099d1e878b9551a618ac0e3d2.zip
-rw-r--r--.appveyor.yml17
-rw-r--r--premake5.lua6
2 files changed, 22 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 00000000..6e9b3867
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,17 @@
+image: Visual Studio 2017
+configuration: ReleaseCI
+platform:
+ - Win32
+environment:
+ APPVEYOR_SAVE_CACHE_ON_ERROR: true
+install:
+ - set PATH=%APPVEYOR_BUILD_FOLDER%/bin;%PATH%
+before_build:
+ - mkdir "%APPVEYOR_BUILD_FOLDER%/build"
+ - cd "%APPVEYOR_BUILD_FOLDER%"
+ - premake5.exe vs2015
+build:
+ project: c:\projects\re3\build\re3.sln
+ verbosity: minimal
+artifacts:
+ - path: bin/ReleaseCI/re3.dll
diff --git a/premake5.lua b/premake5.lua
index 67766af5..11e09b1b 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -1,5 +1,5 @@
workspace "re3"
- configurations { "Release","Debug" }
+ configurations { "ReleaseCI", "Release", "Debug" }
location "build"
files { "src/*.*" }
@@ -41,3 +41,7 @@ project "re3"
debugdir "C:/Users/aap/games/gta3_re"
debugcommand "C:/Users/aap/games/gta3_re/gta3.exe"
postbuildcommands "copy /y \"$(TargetPath)\" \"C:\\Users\\aap\\games\\gta3_re\\plugins\\re3.dll\""
+ filter "configurations:ReleaseCI"
+ defines { "NDEBUG" }
+ optimize "On"
+ flags { "StaticRuntime" }