mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Supported mingw-clang builds (nw)
This commit is contained in:
parent
f0b6bb5407
commit
abf7d057d2
@ -53,7 +53,7 @@ function maintargetosdoptions(_target)
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
configuration { "mingw*" }
|
configuration { "mingw*-gcc" }
|
||||||
linkoptions{
|
linkoptions{
|
||||||
"-municode",
|
"-municode",
|
||||||
}
|
}
|
||||||
|
@ -99,11 +99,12 @@ if BASE_TARGETOS=="unix" then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="windows" then
|
if _OPTIONS["targetos"]=="windows" then
|
||||||
defines {
|
configuration { "mingw*-gcc or vs*" }
|
||||||
"UNICODE",
|
defines {
|
||||||
"_UNICODE",
|
"UNICODE",
|
||||||
"main=utf8_main",
|
"_UNICODE",
|
||||||
}
|
"main=utf8_main",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { "Debug" }
|
configuration { "Debug" }
|
||||||
defines {
|
defines {
|
||||||
|
@ -4,7 +4,7 @@ dofile("modules.lua")
|
|||||||
function maintargetosdoptions(_target)
|
function maintargetosdoptions(_target)
|
||||||
osdmodulestargetconf()
|
osdmodulestargetconf()
|
||||||
|
|
||||||
configuration { "mingw*" }
|
configuration { "mingw*-gcc" }
|
||||||
linkoptions {
|
linkoptions {
|
||||||
"-municode",
|
"-municode",
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
defines {
|
defines {
|
||||||
"UNICODE",
|
|
||||||
"_UNICODE",
|
|
||||||
"OSD_WINDOWS",
|
"OSD_WINDOWS",
|
||||||
"main=utf8_main",
|
|
||||||
"_WIN32_WINNT=0x0501",
|
"_WIN32_WINNT=0x0501",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "mingw*-gcc or vs*" }
|
||||||
|
defines {
|
||||||
|
"UNICODE",
|
||||||
|
"_UNICODE",
|
||||||
|
"main=utf8_main",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { "Debug" }
|
configuration { "Debug" }
|
||||||
defines {
|
defines {
|
||||||
"MALLOC_DEBUG",
|
"MALLOC_DEBUG",
|
||||||
|
Loading…
Reference in New Issue
Block a user