mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
And one more (nw)
This commit is contained in:
parent
1ff712db7a
commit
13f137dde7
5
makefile
5
makefile
@ -71,6 +71,7 @@
|
|||||||
# SSE2 = 1
|
# SSE2 = 1
|
||||||
# OPENMP = 1
|
# OPENMP = 1
|
||||||
# CPP11 = 1
|
# CPP11 = 1
|
||||||
|
# FASTDEBUG = 1
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
################## END USER-CONFIGURABLE OPTIONS ######################
|
################## END USER-CONFIGURABLE OPTIONS ######################
|
||||||
@ -477,6 +478,10 @@ ifdef CPP11
|
|||||||
PARAMS += --CPP11='$(CPP11)'
|
PARAMS += --CPP11='$(CPP11)'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef FASTDEBUG
|
||||||
|
PARAMS += --FASTDEBUG='$(FASTDEBUG)'
|
||||||
|
endif
|
||||||
|
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
# All scripts
|
# All scripts
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
@ -244,6 +244,15 @@ newoption {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
newoption {
|
||||||
|
trigger = "FASTDEBUG",
|
||||||
|
description = "Fast DEBUG.",
|
||||||
|
allowed = {
|
||||||
|
{ "0", "Disabled" },
|
||||||
|
{ "1", "Enabled" },
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if not _OPTIONS["BIGENDIAN"] then
|
if not _OPTIONS["BIGENDIAN"] then
|
||||||
_OPTIONS["BIGENDIAN"] = "0"
|
_OPTIONS["BIGENDIAN"] = "0"
|
||||||
end
|
end
|
||||||
@ -449,6 +458,11 @@ configuration { "Debug" }
|
|||||||
"MAME_DEBUG",
|
"MAME_DEBUG",
|
||||||
"MAME_PROFILER",
|
"MAME_PROFILER",
|
||||||
}
|
}
|
||||||
|
if _OPTIONS["FASTDEBUG"]=="1" then
|
||||||
|
defines {
|
||||||
|
"MAME_DEBUG_FAST"
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
configuration { }
|
configuration { }
|
||||||
|
|
||||||
@ -557,10 +571,6 @@ end
|
|||||||
-- define USE_SYSTEM_JPEGLIB if library shipped with MAME is not used
|
-- define USE_SYSTEM_JPEGLIB if library shipped with MAME is not used
|
||||||
--ifneq ($(BUILD_JPEGLIB),1)
|
--ifneq ($(BUILD_JPEGLIB),1)
|
||||||
--DEFS += -DUSE_SYSTEM_JPEGLIB
|
--DEFS += -DUSE_SYSTEM_JPEGLIB
|
||||||
--endif
|
|
||||||
|
|
||||||
--ifdef FASTDEBUG
|
|
||||||
--DEFS += -DMAME_DEBUG_FAST
|
|
||||||
--endif
|
--endif
|
||||||
|
|
||||||
--To support casting in Lua 5.3
|
--To support casting in Lua 5.3
|
||||||
|
Loading…
Reference in New Issue
Block a user