mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
Ok shuffling done
This commit is contained in:
parent
9207811ed5
commit
627b7c61dc
@ -327,24 +327,11 @@ dofile ("toolchain.lua")
|
|||||||
|
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="windows" then
|
if _OPTIONS["targetos"]=="windows" then
|
||||||
configuration { "mingw*" }
|
|
||||||
linkoptions {
|
|
||||||
"-municode",
|
|
||||||
}
|
|
||||||
configuration { "vs*" }
|
|
||||||
flags {
|
|
||||||
"Unicode",
|
|
||||||
}
|
|
||||||
configuration { "x64" }
|
configuration { "x64" }
|
||||||
defines {
|
defines {
|
||||||
"X64_WINDOWS_ABI",
|
"X64_WINDOWS_ABI",
|
||||||
}
|
}
|
||||||
configuration { }
|
configuration { }
|
||||||
defines {
|
|
||||||
"UNICODE",
|
|
||||||
"_UNICODE",
|
|
||||||
"main=utf8_main",
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Avoid error when invoking genie --help.
|
-- Avoid error when invoking genie --help.
|
||||||
|
@ -30,6 +30,7 @@ project ("osd_" .. _OPTIONS["osd"])
|
|||||||
}
|
}
|
||||||
|
|
||||||
files {
|
files {
|
||||||
|
MAME_DIR .. "src/osd/osdnet.c",
|
||||||
MAME_DIR .. "src/osd/osdmini/minimain.c",
|
MAME_DIR .. "src/osd/osdmini/minimain.c",
|
||||||
MAME_DIR .. "src/osd/modules/lib/osdobj_common.c",
|
MAME_DIR .. "src/osd/modules/lib/osdobj_common.c",
|
||||||
MAME_DIR .. "src/osd/modules/font/font_sdl.c",
|
MAME_DIR .. "src/osd/modules/font/font_sdl.c",
|
||||||
@ -87,6 +88,7 @@ project ("ocore_" .. _OPTIONS["osd"])
|
|||||||
end
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
|
MAME_DIR .. "src/osd/osdcore.c",
|
||||||
MAME_DIR .. "src/osd/modules/osdmodule.c",
|
MAME_DIR .. "src/osd/modules/osdmodule.c",
|
||||||
MAME_DIR .. "src/osd/osdmini/minidir.c",
|
MAME_DIR .. "src/osd/osdmini/minidir.c",
|
||||||
MAME_DIR .. "src/osd/osdmini/minifile.c",
|
MAME_DIR .. "src/osd/osdmini/minifile.c",
|
||||||
|
@ -43,6 +43,14 @@ function maintargetosdoptions(_target)
|
|||||||
end
|
end
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="windows" then
|
if _OPTIONS["targetos"]=="windows" then
|
||||||
|
configuration { "mingw*" }
|
||||||
|
linkoptions{
|
||||||
|
"-municode",
|
||||||
|
}
|
||||||
|
configuration { "vs*" }
|
||||||
|
flags {
|
||||||
|
"Unicode",
|
||||||
|
}
|
||||||
configuration { "x32", "vs*" }
|
configuration { "x32", "vs*" }
|
||||||
libdirs {
|
libdirs {
|
||||||
path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86")
|
path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86")
|
||||||
|
@ -99,6 +99,12 @@ if BASE_TARGETOS=="unix" then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="windows" then
|
if _OPTIONS["targetos"]=="windows" then
|
||||||
|
defines {
|
||||||
|
"UNICODE",
|
||||||
|
"_UNICODE",
|
||||||
|
"main=utf8_main",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { "vs*" }
|
configuration { "vs*" }
|
||||||
includedirs {
|
includedirs {
|
||||||
path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include")
|
path.join(_OPTIONS["SDL_INSTALL_ROOT"],"include")
|
||||||
|
@ -4,6 +4,13 @@ dofile("modules.lua")
|
|||||||
function maintargetosdoptions(_target)
|
function maintargetosdoptions(_target)
|
||||||
osdmodulestargetconf()
|
osdmodulestargetconf()
|
||||||
|
|
||||||
|
configuration { "mingw*" }
|
||||||
|
linkoptions {
|
||||||
|
"-municode",
|
||||||
|
}
|
||||||
|
|
||||||
|
configuration { }
|
||||||
|
|
||||||
if _OPTIONS["DIRECTINPUT"] == "8" then
|
if _OPTIONS["DIRECTINPUT"] == "8" then
|
||||||
links {
|
links {
|
||||||
"dinput8",
|
"dinput8",
|
||||||
|
@ -1,9 +1,19 @@
|
|||||||
defines {
|
defines {
|
||||||
|
"UNICODE",
|
||||||
|
"_UNICODE",
|
||||||
"OSD_WINDOWS",
|
"OSD_WINDOWS",
|
||||||
"USE_SDL=0",
|
"USE_SDL=0",
|
||||||
|
"main=utf8_main",
|
||||||
"_WIN32_WINNT=0x0501",
|
"_WIN32_WINNT=0x0501",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "vs*" }
|
||||||
|
flags {
|
||||||
|
"Unicode",
|
||||||
|
}
|
||||||
|
|
||||||
|
configuration { }
|
||||||
|
|
||||||
if not _OPTIONS["DONT_USE_NETWORK"] then
|
if not _OPTIONS["DONT_USE_NETWORK"] then
|
||||||
defines {
|
defines {
|
||||||
"USE_NETWORK",
|
"USE_NETWORK",
|
||||||
|
Loading…
Reference in New Issue
Block a user