Adding snappy dependency (to replace zlib) for #505.

This commit is contained in:
Ben Vanik 2015-12-30 20:29:12 -08:00
parent 457c1fc30f
commit 28f43e445d
5 changed files with 28 additions and 1 deletions

View File

@ -69,7 +69,7 @@ build:
# MSBuild verbosity level
#verbosity: quiet|minimal|normal|detailed
verbosity: detailed
verbosity: minimal
# scripts to run before build
before_build:

3
.gitmodules vendored
View File

@ -28,3 +28,6 @@
[submodule "third_party/premake-core"]
path = third_party/premake-core
url = https://github.com/premake/premake-core.git
[submodule "third_party/snappy"]
path = third_party/snappy
url = https://github.com/xenia-project/snappy.git

View File

@ -163,6 +163,7 @@ solution("xenia")
include("third_party/glew.lua")
include("third_party/imgui.lua")
include("third_party/libav.lua")
include("third_party/snappy.lua")
include("third_party/spirv-tools.lua")
include("third_party/xxhash.lua")
include("third_party/zlib.lua")

1
third_party/snappy vendored Submodule

@ -0,0 +1 @@
Subproject commit 303cd2c64c62c579a8592236f723b611afd3bc15

22
third_party/snappy.lua vendored Normal file
View File

@ -0,0 +1,22 @@
group("third_party")
project("snappy")
uuid("bb143d61-3fd4-44c2-8b7e-04cc538ba2c7")
kind("StaticLib")
language("C++")
defines({
"_LIB",
})
files({
"snappy/snappy-internal.h",
"snappy/snappy-sinksource.cc",
"snappy/snappy-sinksource.h",
"snappy/snappy-stubs-internal.cc",
"snappy/snappy-stubs-internal.h",
"snappy/snappy-stubs-public.h",
"snappy/snappy.cc",
"snappy/snappy.h",
})
filter("platforms:Windows")
warnings("Off") -- Too many warnings.