mirror of
https://github.com/holub/mame
synced 2025-07-02 00:29:37 +03:00
Merge pull request #5743 from belegdol/unbreak-msvc-build
-x c++ should not be applied to targets like msvc
This commit is contained in:
commit
c8c57fc0da
@ -154,13 +154,15 @@ project "softfloat"
|
|||||||
"ForceCPP",
|
"ForceCPP",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
includedirs {
|
||||||
|
MAME_DIR .. "src/osd",
|
||||||
|
}
|
||||||
|
|
||||||
|
configuration { "gmake or ninja" }
|
||||||
buildoptions_cpp {
|
buildoptions_cpp {
|
||||||
"-x c++",
|
"-x c++",
|
||||||
}
|
}
|
||||||
|
|
||||||
includedirs {
|
|
||||||
MAME_DIR .. "src/osd",
|
|
||||||
}
|
|
||||||
configuration { "vs*" }
|
configuration { "vs*" }
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
|
"/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
|
||||||
@ -192,10 +194,6 @@ options {
|
|||||||
"ForceCPP",
|
"ForceCPP",
|
||||||
}
|
}
|
||||||
|
|
||||||
buildoptions_cpp {
|
|
||||||
"-x c++",
|
|
||||||
}
|
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
MAME_DIR .. "src/osd",
|
MAME_DIR .. "src/osd",
|
||||||
MAME_DIR .. "3rdparty/softfloat3/build/MAME",
|
MAME_DIR .. "3rdparty/softfloat3/build/MAME",
|
||||||
@ -204,6 +202,11 @@ includedirs {
|
|||||||
MAME_DIR .. "3rdparty/softfloat3/source/8086",
|
MAME_DIR .. "3rdparty/softfloat3/source/8086",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration { "gmake or ninja" }
|
||||||
|
buildoptions_cpp {
|
||||||
|
"-x c++",
|
||||||
|
}
|
||||||
|
|
||||||
configuration { "vs*" }
|
configuration { "vs*" }
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
|
"/wd4701", -- warning C4701: potentially uninitialized local variable 'xxx' used
|
||||||
|
Loading…
Reference in New Issue
Block a user