for separate drivers use simple naming logic (nw)

This commit is contained in:
Miodrag Milanovic 2015-06-21 09:06:26 +02:00
parent 89669187a7
commit a65f0f36a3

View File

@ -2,6 +2,7 @@
-- copyright-holders:MAMEdev Team -- copyright-holders:MAMEdev Team
function mainProject(_target, _subtarget) function mainProject(_target, _subtarget)
if (_OPTIONS["DRIVERS"] == nil) then
if (_target == _subtarget) then if (_target == _subtarget) then
project (_target) project (_target)
else else
@ -11,6 +12,9 @@ function mainProject(_target, _subtarget)
project (_target .. _subtarget) project (_target .. _subtarget)
end end
end end
else
project (_subtarget)
end
uuid (os.uuid(_target .."_" .. _subtarget)) uuid (os.uuid(_target .."_" .. _subtarget))
kind "ConsoleApp" kind "ConsoleApp"
@ -34,7 +38,7 @@ function mainProject(_target, _subtarget)
flags { flags {
"Unicode", "Unicode",
} }
if (_OPTIONS["DRIVERS"] == nil) then
configuration { "x64", "Release" } configuration { "x64", "Release" }
targetsuffix "64" targetsuffix "64"
if _OPTIONS["PROFILE"] then if _OPTIONS["PROFILE"] then
@ -70,7 +74,7 @@ function mainProject(_target, _subtarget)
if _OPTIONS["PROFILE"] then if _OPTIONS["PROFILE"] then
targetsuffix "dp" targetsuffix "dp"
end end
end
configuration { "mingw*" or "vs*" } configuration { "mingw*" or "vs*" }
targetextension ".exe" targetextension ".exe"