summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/tools.lua
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-02-17 12:45:16 +0100
committer couriersud <couriersud@gmx.org>2019-02-17 12:45:20 +0100
commitd72df29988fdf0a3076ca85d2f506f87ef1ffb0d (patch)
treea05f0734e27d0c7df72ccab3a058a3ceefef324e /scripts/src/tools.lua
parent44bd859b04728026b0bd8c20581664d602173f72 (diff)
testkeys: remove dead code, don't build on windows. (nw)
Diffstat (limited to 'scripts/src/tools.lua')
-rw-r--r--scripts/src/tools.lua62
1 files changed, 32 insertions, 30 deletions
diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua
index 9ab0af409df..f1f595b8719 100644
--- a/scripts/src/tools.lua
+++ b/scripts/src/tools.lua
@@ -796,35 +796,37 @@ end
-- testkeys
--------------------------------------------------
-if (_OPTIONS["osd"] == "sdl") then
- project("testkeys")
- uuid ("b3f5a5b8-3203-11e9-93e4-670b4f4e359d")
- kind "ConsoleApp"
+if _OPTIONS["targetos"] ~= "windows" then
+ 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")
- flags {
- "Symbols", -- always include minimum symbols for executables
- }
-
- if _OPTIONS["SEPARATE_BIN"]~="1" then
- targetdir(MAME_DIR)
+ includedirs {
+ }
+
+ files {
+ MAME_DIR .. "src/tools/testkeys.cpp",
+ }
+
+ configuration { "mingw*" or "vs*" }
+ targetextension ".exe"
+
+ configuration { }
+
+ strip()
end
-
- links {
- }
-
- dofile("osd/sdl_cfg.lua")
-
- includedirs {
- }
-
- files {
- MAME_DIR .. "src/tools/testkeys.cpp",
- }
-
- configuration { "mingw*" or "vs*" }
- targetextension ".exe"
-
- configuration { }
-
- strip()
-end
+end \ No newline at end of file