diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 42ff7fc64ce..aeb901b0f2e 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1,3 +1,6 @@ +-- license:BSD-3-Clause +-- copyright-holders:MAMEdev Team + premake.check_paths = true premake.make.override = { "TARGET" } MAME_DIR = (path.getabsolute("..") .. "/") @@ -86,6 +89,11 @@ newoption { } newoption { + trigger = 'with-bundled-expat', + description = 'Build bundled Expat library', +} + +newoption { trigger = "distro", description = "Choose distribution", allowed = { @@ -333,7 +341,11 @@ if (_OPTIONS["subtarget"] == nil) then return false end if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then solution (_OPTIONS["target"]) else - solution (_OPTIONS["target"] .. _OPTIONS["subtarget"]) + if (_OPTIONS["subtarget"]=="mess") then + solution (_OPTIONS["subtarget"]) + else + solution (_OPTIONS["target"] .. _OPTIONS["subtarget"]) + end end configurations { @@ -1107,7 +1119,11 @@ dofile(path.join("src", "main.lua")) if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then startproject (_OPTIONS["target"]) else - startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"]) + if (_OPTIONS["subtarget"]=="mess") then + startproject (_OPTIONS["subtarget"]) + else + startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"]) + end end mainProject(_OPTIONS["target"],_OPTIONS["subtarget"]) |