mirror of
https://github.com/holub/mame
synced 2025-06-07 05:13:46 +03:00
disable this for CPP11 builds (nw)
This commit is contained in:
parent
b1cd05ee52
commit
8a91bc9f0e
@ -532,9 +532,11 @@ else
|
|||||||
os.outputof( PYTHON .. " " .. MAME_DIR .. "scripts/build/makedep.py " .. MAME_DIR .. " " .. _OPTIONS["SOURCES"] .. " drivers " .. _OPTIONS["subtarget"] .. " > ".. GEN_DIR .. _OPTIONS["target"] .. "/" .. _OPTIONS["subtarget"].."/drivlist.cpp")
|
os.outputof( PYTHON .. " " .. MAME_DIR .. "scripts/build/makedep.py " .. MAME_DIR .. " " .. _OPTIONS["SOURCES"] .. " drivers " .. _OPTIONS["subtarget"] .. " > ".. GEN_DIR .. _OPTIONS["target"] .. "/" .. _OPTIONS["subtarget"].."/drivlist.cpp")
|
||||||
end
|
end
|
||||||
configuration { "gmake" }
|
configuration { "gmake" }
|
||||||
|
if _OPTIONS["CPP11"]~="1" then
|
||||||
defines {
|
defines {
|
||||||
"nullptr=NULL" -- getting ready for C++11
|
"nullptr=NULL" -- getting ready for C++11
|
||||||
}
|
}
|
||||||
|
end
|
||||||
flags {
|
flags {
|
||||||
"SingleOutputDir",
|
"SingleOutputDir",
|
||||||
}
|
}
|
||||||
|
@ -674,9 +674,11 @@ end
|
|||||||
includedirs {
|
includedirs {
|
||||||
MAME_DIR .. "3rdparty/bx/include/compat/mingw",
|
MAME_DIR .. "3rdparty/bx/include/compat/mingw",
|
||||||
}
|
}
|
||||||
|
if _OPTIONS["CPP11"]~="1" then
|
||||||
defines {
|
defines {
|
||||||
"nullptr=NULL" -- not used but needed for C++11 code
|
"nullptr=NULL" -- not used but needed for C++11 code
|
||||||
}
|
}
|
||||||
|
end
|
||||||
|
|
||||||
configuration { "osx*" }
|
configuration { "osx*" }
|
||||||
includedirs {
|
includedirs {
|
||||||
|
Loading…
Reference in New Issue
Block a user