mirror of
https://github.com/xenia-project/build-tools.git
synced 2024-11-26 21:10:24 +00:00
Fixing windows build.
This commit is contained in:
parent
7c98450403
commit
e28427bd7d
@ -25,6 +25,7 @@ local function match_platform_files(base_path, base_match)
|
||||
base_path.."/"..base_match.."_linux.h",
|
||||
base_path.."/"..base_match.."_linux.cc",
|
||||
})
|
||||
filter({})
|
||||
end
|
||||
|
||||
-- Adds all .h and .cc files in the current path that match the current platform
|
||||
|
19
third_party/gflags.lua
vendored
19
third_party/gflags.lua
vendored
@ -3,8 +3,17 @@ project("gflags")
|
||||
uuid("e319da87-75ed-4517-8f65-bd25e9cc02a3")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
links({
|
||||
})
|
||||
|
||||
-- These win32-specific overrides must come before others.
|
||||
filter("platforms:Windows")
|
||||
defines({
|
||||
"PATH_SEPARATOR=%%27\\\\%%27",
|
||||
})
|
||||
includedirs({
|
||||
"gflags/src/windows",
|
||||
})
|
||||
filter({})
|
||||
|
||||
defines({
|
||||
"GFLAGS_DLL_DECL=",
|
||||
"GFLAGS_DLL_DEFINE_FLAG=",
|
||||
@ -22,12 +31,6 @@ project("gflags")
|
||||
"gflags/src/util.h",
|
||||
})
|
||||
filter("platforms:Windows")
|
||||
defines({
|
||||
"PATH_SEPARATOR=%%27\\\\%%27",
|
||||
})
|
||||
includedirs({
|
||||
"gflags/src/windows",
|
||||
})
|
||||
files({
|
||||
"gflags/src/windows/config.h",
|
||||
"gflags/src/windows/gflags/gflags.h",
|
||||
|
Loading…
Reference in New Issue
Block a user