And one more (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-06 16:33:21 +02:00
parent 1ff712db7a
commit 13f137dde7
2 changed files with 19 additions and 4 deletions

View File

@ -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
#------------------------------------------------- #-------------------------------------------------

View File

@ -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