mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
genie: restore msvc build (nw)
I don't really understand why this works, but it enables building with VS 2017 15.7.6 as before. Apologies if it breaks LLVM on VS - I don't have that configuration to test.
This commit is contained in:
parent
ac876f3ebc
commit
61db5737b5
@ -1294,6 +1294,15 @@ configuration { "mingw-clang" }
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
configuration { "vsllvm" }
|
||||||
|
defines {
|
||||||
|
"XML_STATIC",
|
||||||
|
"WIN32",
|
||||||
|
"_WIN32",
|
||||||
|
"_CRT_NONSTDC_NO_DEPRECATE",
|
||||||
|
"_CRT_SECURE_NO_DEPRECATE",
|
||||||
|
"_CRT_STDIO_LEGACY_WIDE_SPECIFIERS",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { "vs20*" }
|
configuration { "vs20*" }
|
||||||
defines {
|
defines {
|
||||||
@ -1305,15 +1314,6 @@ configuration { "vs20*" }
|
|||||||
"_CRT_STDIO_LEGACY_WIDE_SPECIFIERS",
|
"_CRT_STDIO_LEGACY_WIDE_SPECIFIERS",
|
||||||
}
|
}
|
||||||
|
|
||||||
configuration { "vsllvm" }
|
|
||||||
defines {
|
|
||||||
"XML_STATIC",
|
|
||||||
"WIN32",
|
|
||||||
"_WIN32",
|
|
||||||
"_CRT_NONSTDC_NO_DEPRECATE",
|
|
||||||
"_CRT_SECURE_NO_DEPRECATE",
|
|
||||||
"_CRT_STDIO_LEGACY_WIDE_SPECIFIERS",
|
|
||||||
}
|
|
||||||
-- Windows Store/Phone projects already link against the available libraries.
|
-- Windows Store/Phone projects already link against the available libraries.
|
||||||
if _OPTIONS["vs"]==nil or not (string.startswith(_OPTIONS["vs"], "winstore8") or string.startswith(_OPTIONS["vs"], "winphone8")) then
|
if _OPTIONS["vs"]==nil or not (string.startswith(_OPTIONS["vs"], "winstore8") or string.startswith(_OPTIONS["vs"], "winphone8")) then
|
||||||
links {
|
links {
|
||||||
|
Loading…
Reference in New Issue
Block a user