From a65f0f36a3a541fa939c756d84e1460b271cfd5f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 21 Jun 2015 09:06:26 +0200 Subject: for separate drivers use simple naming logic (nw) --- scripts/src/main.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'scripts/src/main.lua') diff --git a/scripts/src/main.lua b/scripts/src/main.lua index e8db37b56f1..25cc1a32ca7 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -2,6 +2,7 @@ -- copyright-holders:MAMEdev Team function mainProject(_target, _subtarget) +if (_OPTIONS["DRIVERS"] == nil) then if (_target == _subtarget) then project (_target) else @@ -11,6 +12,9 @@ function mainProject(_target, _subtarget) project (_target .. _subtarget) end end +else + project (_subtarget) +end uuid (os.uuid(_target .."_" .. _subtarget)) kind "ConsoleApp" @@ -34,7 +38,7 @@ function mainProject(_target, _subtarget) flags { "Unicode", } - +if (_OPTIONS["DRIVERS"] == nil) then configuration { "x64", "Release" } targetsuffix "64" if _OPTIONS["PROFILE"] then @@ -70,7 +74,7 @@ function mainProject(_target, _subtarget) if _OPTIONS["PROFILE"] then targetsuffix "dp" end - +end configuration { "mingw*" or "vs*" } targetextension ".exe" -- cgit v1.2.3-70-g09d2