[*] Clean up guess-platform-code.lua
This commit is contained in:
parent
86059983bc
commit
4bfaebea6c
@ -9,26 +9,27 @@ local function feature()
|
|||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = {"win32"}, notArchs = {"x86_64"}}))
|
auFilter(auFilterOf({notPlatforms = {"win32"}, notArchs = {"x86_64"}}))
|
||||||
excludeFiles "win64"
|
excludeFiles "win64"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = {"win32"}}))
|
auFilter(auFilterOf({notPlatforms = {"win32"}}))
|
||||||
excludeFiles "windows"
|
excludeFiles "windows"
|
||||||
excludeFiles "win32"
|
excludeFiles "win32"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = {"xbox"}}))
|
auFilter(auFilterOf({notPlatforms = {"xbox"}}))
|
||||||
excludeFiles "xbox"
|
excludeFiles "xbox"
|
||||||
|
|
||||||
--if (not _G["uwp"]) then
|
--if (not _G["uwp"]) then
|
||||||
excludeFiles "uwp"
|
excludeFiles "uwp"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = {"win32", "xbox"}}))
|
auFilter(auFilterOf({notPlatforms = {"win32", "xbox"}}))
|
||||||
excludeFiles "nt"
|
excludeFiles "nt"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = {"android"}}))
|
auFilter(auFilterOf({notPlatforms = {"android"}}))
|
||||||
excludeFiles "android"
|
excludeFiles "android"
|
||||||
|
auFilter{}
|
||||||
|
|
||||||
local isNotApple = {"mac",
|
local isNotApple = {"mac",
|
||||||
"ios"}
|
"ios"}
|
||||||
@ -36,40 +37,36 @@ local function feature()
|
|||||||
local isNotBsd = auConcatArrays({"bsd",
|
local isNotBsd = auConcatArrays({"bsd",
|
||||||
"ps4",
|
"ps4",
|
||||||
"ps5"}, isNotApple)
|
"ps5"}, isNotApple)
|
||||||
|
|
||||||
auFilter{}
|
|
||||||
auFilter(auFilterOf({notPlatforms = isNotBsd}))
|
auFilter(auFilterOf({notPlatforms = isNotBsd}))
|
||||||
excludeFiles "bsd"
|
excludeFiles "bsd"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = isNotApple}))
|
auFilter(auFilterOf({notPlatforms = isNotApple}))
|
||||||
excludeFiles "apple"
|
excludeFiles "apple"
|
||||||
excludeFiles "xnu"
|
excludeFiles "xnu"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = {"mac"}}))
|
auFilter(auFilterOf({notPlatforms = {"mac"}}))
|
||||||
excludeFiles "osx"
|
excludeFiles "osx"
|
||||||
excludeFiles "macos"
|
excludeFiles "macos"
|
||||||
|
auFilter{}
|
||||||
|
|
||||||
local isNotLinux = {"linux",
|
local isNotLinux = {"linux",
|
||||||
"android"}
|
"android"}
|
||||||
|
|
||||||
auFilter{}
|
|
||||||
auFilter(auFilterOf({notPlatforms = auConcatArrays(isNotBsd, isNotLinux)}))
|
auFilter(auFilterOf({notPlatforms = auConcatArrays(isNotBsd, isNotLinux)}))
|
||||||
excludeFiles "unix"
|
excludeFiles "unix"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notPlatforms = {"linux", "android"}}))
|
auFilter(auFilterOf({notPlatforms = {"linux", "android"}}))
|
||||||
excludeFiles "linux"
|
excludeFiles "linux"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
auFilter(auFilterOf({notArchs = "x86_64"}))
|
|
||||||
|
|
||||||
|
auFilter(auFilterOf({notArchs = "x86_64"}))
|
||||||
excludeFiles "x64"
|
excludeFiles "x64"
|
||||||
excludeFiles "x86_64"
|
excludeFiles "x86_64"
|
||||||
excludeFiles "amd64"
|
excludeFiles "amd64"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notArchs = "x86_32"}))
|
auFilter(auFilterOf({notArchs = "x86_32"}))
|
||||||
excludes "**/x86/**"
|
excludes "**/x86/**"
|
||||||
excludes "**/x86/**.c"
|
excludes "**/x86/**.c"
|
||||||
@ -81,13 +78,12 @@ local function feature()
|
|||||||
excludes "**/*.x86.*pp"
|
excludes "**/*.x86.*pp"
|
||||||
excludeFiles "x86_32"
|
excludeFiles "x86_32"
|
||||||
excludeFiles "intel"
|
excludeFiles "intel"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
auFilter(auFilterOf({notArchs = "arm"}))
|
auFilter(auFilterOf({notArchs = "arm"}))
|
||||||
excludeFiles ("arm", true)
|
excludeFiles ("arm", true)
|
||||||
excludeFiles "aarch64"
|
excludeFiles "aarch64"
|
||||||
excludeFiles "aarch"
|
excludeFiles "aarch"
|
||||||
|
|
||||||
auFilter{}
|
auFilter{}
|
||||||
|
|
||||||
excludeFiles "mips"
|
excludeFiles "mips"
|
||||||
|
Loading…
Reference in New Issue
Block a user