summaryrefslogtreecommitdiffstats
path: root/docs/release/scripts/src/3rdparty.lua
diff options
context:
space:
mode:
Diffstat (limited to 'docs/release/scripts/src/3rdparty.lua')
-rw-r--r--docs/release/scripts/src/3rdparty.lua114
1 files changed, 16 insertions, 98 deletions
diff --git a/docs/release/scripts/src/3rdparty.lua b/docs/release/scripts/src/3rdparty.lua
index fff3b94f0c8..267b19d44df 100644
--- a/docs/release/scripts/src/3rdparty.lua
+++ b/docs/release/scripts/src/3rdparty.lua
@@ -573,11 +573,6 @@ if _OPTIONS["vs"]=="intel-15" then
}
end
- configuration { "winstore*" }
- defines {
- "NO_GETENV"
- }
-
configuration { }
files {
@@ -667,12 +662,6 @@ end
"-include stdint.h"
}
- configuration { "vsllvm" }
- buildoptions {
- "-Wno-enum-conversion",
- "-Wno-unused-function",
- }
-
configuration { }
defines {
"WORDS_BIGENDIAN=0",
@@ -774,11 +763,6 @@ if _OPTIONS["vs"]=="intel-15" then
"/Qwd869", -- remark #869: parameter "xxx" was never referenced
}
end
- configuration { "winstore*" }
- forcedincludes {
- MAME_DIR .. "src/osd/uwp/uwpcompat.h"
- }
-
configuration { }
defines {
"_7ZIP_PPMD_SUPPPORT",
@@ -867,27 +851,17 @@ if _OPTIONS["vs"]=="intel-15" then
}
end
- configuration { "winstore*" }
- forcedincludes {
- MAME_DIR .. "src/osd/uwp/uwpcompat.h",
- }
-
configuration { }
defines {
"LUA_COMPAT_ALL",
"LUA_COMPAT_5_1",
"LUA_COMPAT_5_2",
}
- if not (_OPTIONS["targetos"]=="windows") and not (_OPTIONS["targetos"]=="asmjs") and not (_OPTIONS["targetos"]=="pnacl") then
+ if not (_OPTIONS["targetos"]=="windows") and not (_OPTIONS["targetos"]=="asmjs") then
defines {
"LUA_USE_POSIX",
}
end
- if ("pnacl" == _OPTIONS["gcc"]) then
- defines {
- "LUA_32BITS",
- }
- end
configuration { }
@@ -953,11 +927,6 @@ project "lualibs"
"/wd4130", -- warning C4130: '==': logical operation on address of string constant
}
- configuration { "pnacl"}
- buildoptions {
- "-Wno-char-subscripts",
- }
-
configuration { }
defines {
"LUA_COMPAT_ALL",
@@ -965,39 +934,23 @@ project "lualibs"
includedirs {
MAME_DIR .. "3rdparty",
- }
-if (_OPTIONS["osd"] ~= "uwp") then
- includedirs {
MAME_DIR .. "3rdparty/linenoise",
}
-end
+
includedirs {
ext_includedir("lua"),
ext_includedir("zlib"),
ext_includedir("sqlite3"),
}
- configuration { "winstore*" }
- forcedincludes {
- MAME_DIR .. "src/osd/uwp/uwpcompat.h"
- }
-
configuration {}
files {
MAME_DIR .. "3rdparty/lsqlite3/lsqlite3.c",
MAME_DIR .. "3rdparty/lua-zlib/lua_zlib.c",
MAME_DIR .. "3rdparty/luafilesystem/src/lfs.c",
- }
-if (_OPTIONS["osd"] == "uwp") then
- files {
- MAME_DIR .. "3rdparty/lua-linenoise/linenoise_none.c",
- }
-else
- files {
MAME_DIR .. "3rdparty/lua-linenoise/linenoise.c",
}
-end
--------------------------------------------------
-- SQLite3 library objects
@@ -1026,16 +979,6 @@ if _OPTIONS["vs"]=="clangcl" then
"-Wno-implicit-int-float-conversion",
}
end
- configuration { "winstore*" }
- defines {
- "SQLITE_OS_WINRT",
- }
-
- configuration { "vsllvm" }
- buildoptions {
- "-Wno-deprecated-declarations",
- "-Wno-unused-variable",
- }
configuration { }
@@ -1160,7 +1103,7 @@ project "bx"
MAME_DIR .. "3rdparty/bx/include/compat/mingw",
}
- configuration { "osx* or xcode4" }
+ configuration { "osx*" }
includedirs {
MAME_DIR .. "3rdparty/bx/include/compat/osx",
}
@@ -1228,7 +1171,7 @@ project "bimg"
MAME_DIR .. "3rdparty/bx/include/compat/mingw",
}
- configuration { "osx* or xcode4" }
+ configuration { "osx*" }
includedirs {
MAME_DIR .. "3rdparty/bx/include/compat/osx",
}
@@ -1253,6 +1196,11 @@ project "bimg"
end
end
+ configuration { "gmake" }
+ buildoptions {
+ "-Wno-unused-but-set-variable",
+ }
+
defines {
"__STDC_LIMIT_MACROS",
"__STDC_FORMAT_MACROS",
@@ -1300,12 +1248,6 @@ project "bgfx"
"/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
}
- configuration { "vsllvm" }
- buildoptions {
- "-Wno-unneeded-internal-declaration",
- "-Wno-unused-const-variable",
- }
-
if _OPTIONS["vs"]=="intel-15" then
buildoptions {
"/Qwd906", -- message #906: effect of this "#pragma pack" directive is local to function "xxx"
@@ -1321,13 +1263,9 @@ end
MAME_DIR .. "3rdparty/bx/include",
MAME_DIR .. "3rdparty/bimg/include",
MAME_DIR .. "3rdparty/bgfx/3rdparty/dxsdk/include",
+ MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos",
}
- configuration { "not steamlink"}
- includedirs {
- MAME_DIR .. "3rdparty/bgfx/3rdparty/khronos",
- }
-
configuration { "android-*"}
buildoptions {
"-Wno-macro-redefined",
@@ -1342,7 +1280,7 @@ end
MAME_DIR .. "3rdparty/bx/include/compat/mingw",
}
- configuration { "osx* or xcode4" }
+ configuration { "osx*" }
includedirs {
MAME_DIR .. "3rdparty/bx/include/compat/osx",
}
@@ -1364,14 +1302,6 @@ end
"-Wno-unused-function",
"-Wno-unused-variable",
}
- configuration { "rpi" }
- buildoptions {
- "-Wno-unused-but-set-variable",
- "-Wno-unused-variable",
- }
- defines {
- "__STDC_VERSION__=199901L",
- }
configuration { }
@@ -1512,15 +1442,6 @@ project "portaudio"
}
end
- configuration { "vsllvm" }
- buildoptions {
- "-Wno-deprecated-declarations",
- "-Wno-missing-braces",
- "-Wno-switch",
- "-Wno-unused-function",
- "-Wno-unused-variable",
- }
-
configuration { "gmake or ninja" }
buildoptions_c {
"-Wno-bad-function-cast",
@@ -1686,12 +1607,6 @@ if _OPTIONS["targetos"]=="android" then
if _OPTIONS["PLATFORM"]=="arm64" then
targetdir(MAME_DIR .. "android-project/app/src/main/libs/arm64-v8a")
end
- if _OPTIONS["PLATFORM"]=="mips" then
- targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips")
- end
- if _OPTIONS["PLATFORM"]=="mips64" then
- targetdir(MAME_DIR .. "android-project/app/src/main/libs/mips64")
- end
if _OPTIONS["PLATFORM"]=="x86" then
targetdir(MAME_DIR .. "android-project/app/src/main/libs/x86")
end
@@ -2174,7 +2089,6 @@ end
-- linenoise library
--------------------------------------------------
-if (_OPTIONS["osd"] ~= "uwp") then
project "linenoise"
uuid "7320ffc8-2748-4add-8864-ae29b72a8511"
kind (LIBTYPE)
@@ -2196,7 +2110,6 @@ project "linenoise"
MAME_DIR .. "3rdparty/linenoise/utf8.c",
MAME_DIR .. "3rdparty/linenoise/linenoise.c",
}
-end
--------------------------------------------------
@@ -2312,6 +2225,11 @@ project "asmjit"
end
end
+ configuration { "gmake" }
+ buildoptions {
+ "-Wno-unused-but-set-variable",
+ }
+
files {
MAME_DIR .. "3rdparty/asmjit/src/asmjit/asmjit.h",
MAME_DIR .. "3rdparty/asmjit/src/asmjit/core.h",