diff options
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")) |