[3PP] Upgrade snappy to 1.2.2
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -15,7 +15,8 @@
|
||||
url = https://github.com/premake/premake-core.git
|
||||
[submodule "third_party/snappy"]
|
||||
path = third_party/snappy
|
||||
url = https://github.com/xenia-project/snappy.git
|
||||
url = https://github.com/google/snappy.git
|
||||
ignore = dirty
|
||||
[submodule "third_party/premake-export-compile-commands"]
|
||||
path = third_party/premake-export-compile-commands
|
||||
url = https://github.com/xenia-project/premake-export-compile-commands.git
|
||||
|
||||
@@ -10,9 +10,10 @@ drivers.
|
||||
|
||||
* Windows 10 or later
|
||||
* [Visual Studio 2022](https://www.visualstudio.com/downloads/)
|
||||
* CMake 3.10+ (or C++ CMake tools for Windows)
|
||||
* Windows 11 SDK version 10.0.22000.0 (for Visual Studio 2022, this or any newer version)
|
||||
* [Python 3.9+](https://www.python.org/downloads/)
|
||||
* Ensure Python is in PATH.
|
||||
* Windows 11 SDK version 10.0.22000.0 (for Visual Studio 2022, this or any newer version)
|
||||
|
||||
```
|
||||
git clone https://github.com/xenia-canary/xenia-canary.git
|
||||
|
||||
2
third_party/snappy
vendored
2
third_party/snappy
vendored
Submodule third_party/snappy updated: 303cd2c64c...6af9287fbd
8
third_party/snappy.lua
vendored
8
third_party/snappy.lua
vendored
@@ -18,5 +18,9 @@ project("snappy")
|
||||
"snappy/snappy.h",
|
||||
})
|
||||
|
||||
filter("platforms:Windows")
|
||||
warnings("Off") -- Too many warnings.
|
||||
local snappy_dir = path.getabsolute("snappy")
|
||||
if not os.isfile(path.join(snappy_dir, "snappy-stubs-public.h")) then
|
||||
prebuildcommands({
|
||||
"cmake -DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF -DSNAPPY_REQUIRE_AVX=ON "..snappy_dir.." -B"..snappy_dir
|
||||
})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user