mirror of
https://github.com/holub/mame
synced 2025-06-17 17:59:05 +03:00
3rdparty.lua: fix msvc build by reordering configuration statements
This commit is contained in:
parent
cc8958cb9c
commit
e8fbcd5000
@ -1186,6 +1186,11 @@ project "bimg"
|
|||||||
MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
|
MAME_DIR .. "3rdparty/bx/include/compat/freebsd",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "gmake" }
|
||||||
|
buildoptions {
|
||||||
|
"-Wno-unused-but-set-variable",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { }
|
configuration { }
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then
|
if _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="linux" or _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="asmjs" then
|
||||||
@ -1196,11 +1201,6 @@ project "bimg"
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
configuration { "gmake" }
|
|
||||||
buildoptions {
|
|
||||||
"-Wno-unused-but-set-variable",
|
|
||||||
}
|
|
||||||
|
|
||||||
defines {
|
defines {
|
||||||
"__STDC_LIMIT_MACROS",
|
"__STDC_LIMIT_MACROS",
|
||||||
"__STDC_FORMAT_MACROS",
|
"__STDC_FORMAT_MACROS",
|
||||||
@ -2215,6 +2215,11 @@ project "asmjit"
|
|||||||
uuid "4539757c-6e99-4bae-b3d0-b342a7c49539"
|
uuid "4539757c-6e99-4bae-b3d0-b342a7c49539"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
||||||
|
configuration { "gmake" }
|
||||||
|
buildoptions {
|
||||||
|
"-Wno-unused-but-set-variable",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { }
|
configuration { }
|
||||||
|
|
||||||
if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then
|
if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then
|
||||||
@ -2225,11 +2230,6 @@ project "asmjit"
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
configuration { "gmake" }
|
|
||||||
buildoptions {
|
|
||||||
"-Wno-unused-but-set-variable",
|
|
||||||
}
|
|
||||||
|
|
||||||
files {
|
files {
|
||||||
MAME_DIR .. "3rdparty/asmjit/src/asmjit/asmjit.h",
|
MAME_DIR .. "3rdparty/asmjit/src/asmjit/asmjit.h",
|
||||||
MAME_DIR .. "3rdparty/asmjit/src/asmjit/core.h",
|
MAME_DIR .. "3rdparty/asmjit/src/asmjit/core.h",
|
||||||
|
Loading…
Reference in New Issue
Block a user