From c833268236d712f5e07d2138e6df5b4ba26e114b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 12 Apr 2016 15:43:15 +0200 Subject: Added DEBUG_DIR and DEBUG_ARGS parameters, make sense right now for VS build (nw) --- scripts/src/main.lua | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'scripts/src') diff --git a/scripts/src/main.lua b/scripts/src/main.lua index 7d97eae1c1c..44e34207dd8 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -342,6 +342,15 @@ end configuration { } - debugdir (MAME_DIR) - debugargs ("-window") + if _OPTIONS["DEBUG_DIR"]~=nil then + debugdir (_OPTIONS["DEBUG_DIR"]) + else + debugdir (MAME_DIR) + end + if _OPTIONS["DEBUG_ARGS"]~=nil then + debugargs (_OPTIONS["DEBUG_ARGS"]) + else + debugargs ("-window") + end + end -- cgit v1.2.3-70-g09d2