mirror of
https://github.com/holub/mame
synced 2025-04-28 03:02:52 +03:00
44 lines
537 B
Lua
44 lines
537 B
Lua
defines {
|
|
"OSD_WINDOWS",
|
|
"_WIN32_WINNT=0x0501",
|
|
}
|
|
|
|
configuration { "mingw*-gcc or vs*" }
|
|
defines {
|
|
"UNICODE",
|
|
"_UNICODE",
|
|
"main=utf8_main",
|
|
}
|
|
|
|
configuration { "Debug" }
|
|
defines {
|
|
"MALLOC_DEBUG",
|
|
}
|
|
|
|
configuration { "vs*" }
|
|
flags {
|
|
"Unicode",
|
|
}
|
|
|
|
configuration { }
|
|
|
|
if not _OPTIONS["DONT_USE_NETWORK"] then
|
|
defines {
|
|
"USE_NETWORK",
|
|
"OSD_NET_USE_PCAP",
|
|
}
|
|
end
|
|
|
|
if _OPTIONS["USE_SDL"]=="1" then
|
|
defines {
|
|
"SDLMAME_SDL2=0",
|
|
"USE_XINPUT=0",
|
|
"USE_SDL=1",
|
|
"USE_SDL_SOUND",
|
|
}
|
|
else
|
|
defines {
|
|
"USE_SDL=0",
|
|
}
|
|
end
|