Add appveyor file.

This commit is contained in:
Syoyo Fujita 2015-12-21 01:20:35 +09:00
parent 19c98d50e2
commit c717f1859f
4 changed files with 42 additions and 0 deletions

12
appveyor.yml Normal file
View File

@ -0,0 +1,12 @@
version: 0.9.{build}
# scripts that runs after repo cloning.
install:
- vcsetup.bat
platform: x64
configuration: Release
build:
parallel: true
project: TinyGLTFSolution.sln

29
premake4.lua Normal file
View File

@ -0,0 +1,29 @@
sources = {
"test.cc",
}
-- premake4.lua
solution "TinyGLTFLoaderSolution"
configurations { "Release", "Debug" }
if (os.is("windows")) then
platforms { "x32", "x64" }
else
platforms { "native", "x32", "x64" }
end
-- A project defines one build target
project "tinygltfloader"
kind "ConsoleApp"
language "C++"
files { sources }
configuration "Debug"
defines { "DEBUG" } -- -DDEBUG
flags { "Symbols" }
targetname "test_tinygltfloader_debug"
configuration "Release"
-- defines { "NDEBUG" } -- -NDEBUG
flags { "Symbols", "Optimize" }
targetname "test_tinygltfloader"

BIN
tools/windows/premake5.exe Normal file

Binary file not shown.

1
vcsetup.bat Normal file
View File

@ -0,0 +1 @@
.\\tools\\windows\\premake5.exe vs2013