summaryrefslogtreecommitdiffstats
path: root/scripts/src
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/3rdparty.lua39
-rw-r--r--scripts/src/bus.lua8
-rw-r--r--scripts/src/main.lua1
-rw-r--r--scripts/src/tools.lua15
4 files changed, 59 insertions, 4 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua
index 8bdc39eddb0..211cd7c5fd8 100644
--- a/scripts/src/3rdparty.lua
+++ b/scripts/src/3rdparty.lua
@@ -1585,3 +1585,42 @@ project "linenoise-ng"
MAME_DIR .. "3rdparty/linenoise-ng/src/wcwidth.cpp",
}
end
+
+
+--------------------------------------------------
+-- utf8proc library objects
+--------------------------------------------------
+
+if not _OPTIONS["with-system-utf8proc"] then
+project "utf8proc"
+ uuid "1f881f09-0395-4483-ac37-2935fb092187"
+ kind "StaticLib"
+
+ defines {
+ "UTF8PROC_DLLEXPORT="
+ }
+
+ configuration "Debug"
+ defines {
+ "verbose=-1",
+ }
+
+ configuration { "gmake or ninja" }
+ buildoptions_c {
+ "-Wno-strict-prototypes",
+ }
+
+ configuration { }
+ defines {
+ "ZLIB_CONST",
+ }
+
+ files {
+ MAME_DIR .. "3rdparty/utf8proc/utf8proc.c"
+ }
+else
+links {
+ ext_lib("utf8proc"),
+}
+end
+
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index 3833c9fc695..500a076a142 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -1493,12 +1493,12 @@ if (BUSES["VME"]~=null) then
files {
MAME_DIR .. "src/devices/bus/vme/vme.cpp",
MAME_DIR .. "src/devices/bus/vme/vme.h",
- MAME_DIR .. "src/mame/bus/vme/mzr8105.cpp",
- MAME_DIR .. "src/mame/bus/vme/mzr8105.h",
- MAME_DIR .. "src/mame/bus/vme/mzr8300.cpp",
- MAME_DIR .. "src/mame/bus/vme/mzr8300.h",
+ MAME_DIR .. "src/devices/bus/vme/vme_mzr8105.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_mzr8105.h",
MAME_DIR .. "src/mame/includes/mzr8105.h",
MAME_DIR .. "src/mame/machine/mzr8105.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_mzr8300.cpp",
+ MAME_DIR .. "src/devices/bus/vme/vme_mzr8300.h",
MAME_DIR .. "src/mame/includes/mzr8300.h",
MAME_DIR .. "src/mame/machine/mzr8300.cpp",
}
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index a78965a52b2..22bef465c18 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -276,6 +276,7 @@ end
links {
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
if (STANDALONE~=true) then
links {
diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua
index 0d784113b82..54bff0efb43 100644
--- a/scripts/src/tools.lua
+++ b/scripts/src/tools.lua
@@ -31,6 +31,7 @@ links {
"7z",
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -73,6 +74,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -118,6 +120,7 @@ links {
ext_lib("expat"),
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -161,6 +164,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -206,6 +210,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -252,6 +257,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -296,6 +302,7 @@ links {
ext_lib("expat"),
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -336,6 +343,7 @@ links {
ext_lib("expat"),
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -376,6 +384,7 @@ links {
ext_lib("expat"),
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -418,6 +427,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -458,6 +468,7 @@ links {
ext_lib("expat"),
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -501,6 +512,7 @@ links {
"netlist",
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -585,6 +597,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -630,6 +643,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {
@@ -675,6 +689,7 @@ links {
"ocore_" .. _OPTIONS["osd"],
ext_lib("zlib"),
ext_lib("flac"),
+ ext_lib("utf8proc"),
}
includedirs {