diff options
author | 2016-05-08 19:07:18 +0200 | |
---|---|---|
committer | 2016-05-08 19:07:18 +0200 | |
commit | 175084897e9f346a7652ce19383d521fbb12e9e8 (patch) | |
tree | 3b8ca92904db8bf75d558eb3a1fa4820483f88ac /scripts/genie.lua | |
parent | 66065038257b754a79387361cb981fa5ae90efc4 (diff) |
Added ability to create standalone emulators, added zexall as example (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 3281ca7813b..95e246aee0c 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1,5 +1,6 @@ -- license:BSD-3-Clause -- copyright-holders:MAMEdev Team +STANDALONE = false newoption { trigger = 'build-dir', @@ -1317,14 +1318,18 @@ group "core" dofile(path.join("src", "emu.lua")) -dofile(path.join("src", "mame", "frontend.lua")) +if (STANDALONE~=true) then + dofile(path.join("src", "mame", "frontend.lua")) +end group "devices" dofile(path.join("src", "devices.lua")) devicesProject(_OPTIONS["target"],_OPTIONS["subtarget"]) -group "drivers" -findfunction("createProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarget"])(_OPTIONS["target"], _OPTIONS["subtarget"]) +if (STANDALONE~=true) then + group "drivers" + findfunction("createProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarget"])(_OPTIONS["target"], _OPTIONS["subtarget"]) +end group "emulator" dofile(path.join("src", "main.lua")) |