diff options
author | 2019-02-17 01:51:44 +0100 | |
---|---|---|
committer | 2019-02-17 12:45:19 +0100 | |
commit | 44bd859b04728026b0bd8c20581664d602173f72 (patch) | |
tree | 9ad668fbd54f5f79a074af2b47ae3271da94bc11 /scripts/src/tools.lua | |
parent | 9c9fe82d4f811fff6639df5b286d8c7da13818a9 (diff) |
Added sdl testkeys as a tool again. (nw)
Diffstat (limited to 'scripts/src/tools.lua')
-rw-r--r-- | scripts/src/tools.lua | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua index 4073f9c7336..9ab0af409df 100644 --- a/scripts/src/tools.lua +++ b/scripts/src/tools.lua @@ -791,3 +791,40 @@ if _OPTIONS["targetos"] == "macosx" then strip() end + +-------------------------------------------------- +-- testkeys +-------------------------------------------------- + +if (_OPTIONS["osd"] == "sdl") then + project("testkeys") + uuid ("b3f5a5b8-3203-11e9-93e4-670b4f4e359d") + kind "ConsoleApp" + + flags { + "Symbols", -- always include minimum symbols for executables + } + + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end + + links { + } + + dofile("osd/sdl_cfg.lua") + + includedirs { + } + + files { + MAME_DIR .. "src/tools/testkeys.cpp", + } + + configuration { "mingw*" or "vs*" } + targetextension ".exe" + + configuration { } + + strip() +end |