diff options
author | 2015-04-08 08:52:02 +0200 | |
---|---|---|
committer | 2015-04-08 08:52:02 +0200 | |
commit | cc35d05ec05209e6c453be96e16d32dcb15c3f1b (patch) | |
tree | 1aafde544d949f4dfa4011e6fe419b1fd184b845 /scripts/src/osd | |
parent | 03275c7b68de15c88b7cd427f52593bf4ec47102 (diff) |
added SEPARATE_BIN option to put executable files in bin folder and not in main (useful for continuous integration )(nw)
Diffstat (limited to 'scripts/src/osd')
-rw-r--r-- | scripts/src/osd/sdl.lua | 8 | ||||
-rw-r--r-- | scripts/src/osd/windows.lua | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua index 202e0f8571d..8b713bf635a 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -429,7 +429,9 @@ if _OPTIONS["with-tools"] then MAME_DIR .. "src/lib/util", } - targetdir(MAME_DIR) + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end links { "utils", @@ -480,7 +482,9 @@ if _OPTIONS["targetos"] == "macosx" and _OPTIONS["with-tools"] then dofile("sdl_cfg.lua") - targetdir(MAME_DIR) + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end linkoptions { "-sectcreate __TEXT __info_plist " .. MAME_DIR .. "src/osd/sdl/aueffectutil-Info.plist", diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua index c2277109db1..8c6c5dd1cb7 100644 --- a/scripts/src/osd/windows.lua +++ b/scripts/src/osd/windows.lua @@ -217,7 +217,9 @@ if _OPTIONS["with-tools"] then "ForceCPP", } - targetdir(MAME_DIR) + if _OPTIONS["SEPARATE_BIN"]~="1" then + targetdir(MAME_DIR) + end links { "ocore_" .. _OPTIONS["osd"], |