diff options
author | 2016-01-27 08:35:08 +0100 | |
---|---|---|
committer | 2016-01-27 08:35:08 +0100 | |
commit | 0d1e14b771ed72d8e9a0d42fd05ebfe6fe63016a (patch) | |
tree | 10258b6f255e00e7eec2ec30112d6de07015c475 /scripts/src/emu.lua | |
parent | 8d5848718c30a960d07d569937cb1678f75f0463 (diff) | |
parent | b1d6f6d63f8294a3f62d7db6f9eea07da1d93664 (diff) |
Merge pull request #10 from mamedev/master
Sync to base master
Diffstat (limited to 'scripts/src/emu.lua')
-rw-r--r-- | scripts/src/emu.lua | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/scripts/src/emu.lua b/scripts/src/emu.lua index 7b19e397c93..01e61852d60 100644 --- a/scripts/src/emu.lua +++ b/scripts/src/emu.lua @@ -15,6 +15,7 @@ uuid ("e6fa15e4-a354-4526-acef-13c8e80fcacf") kind (LIBTYPE) addprojectflags() +precompiledheaders() includedirs { MAME_DIR .. "src/osd", @@ -48,6 +49,8 @@ files { MAME_DIR .. "src/emu/attotime.h", MAME_DIR .. "src/emu/audit.cpp", MAME_DIR .. "src/emu/audit.h", + MAME_DIR .. "src/emu/bookkeeping.cpp", + MAME_DIR .. "src/emu/bookkeeping.h", MAME_DIR .. "src/emu/cheat.cpp", MAME_DIR .. "src/emu/cheat.h", MAME_DIR .. "src/emu/clifront.cpp", @@ -271,8 +274,6 @@ files { MAME_DIR .. "src/devices/machine/buffer.h", MAME_DIR .. "src/devices/machine/clock.cpp", MAME_DIR .. "src/devices/machine/clock.h", - MAME_DIR .. "src/emu/machine/generic.cpp", - MAME_DIR .. "src/emu/machine/generic.h", MAME_DIR .. "src/devices/machine/keyboard.cpp", MAME_DIR .. "src/devices/machine/keyboard.h", MAME_DIR .. "src/devices/machine/laserdsc.cpp", @@ -365,3 +366,30 @@ custombuildtask { layoutbuildtask("emu/layout", "noscreens"), layoutbuildtask("emu/layout", "snap"), } + +project ("precompile") +targetsubdir(_OPTIONS["target"] .."_" .. _OPTIONS["subtarget"]) +uuid ("a6fb15d4-b123-4445-acef-13c8e80fcacf") +kind (LIBTYPE) + +addprojectflags() +precompiledheaders() + +includedirs { + MAME_DIR .. "src/osd", + MAME_DIR .. "src/emu", + MAME_DIR .. "src/devices", -- till deps are fixed + MAME_DIR .. "src/lib", + MAME_DIR .. "src/lib/util", + MAME_DIR .. "3rdparty", + GEN_DIR .. "emu", + GEN_DIR .. "emu/layout", +} +files { + MAME_DIR .. "src/emu/drivers/empty.cpp", +} +dependency { + { "$(OBJDIR)/src/emu/drivers/empty.o", "$(GCH)", true }, +} + + |