From cc35d05ec05209e6c453be96e16d32dcb15c3f1b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 8 Apr 2015 08:52:02 +0200 Subject: added SEPARATE_BIN option to put executable files in bin folder and not in main (useful for continuous integration )(nw) --- scripts/src/tools.lua | 45 ++++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 15 deletions(-) (limited to 'scripts/src/tools.lua') diff --git a/scripts/src/tools.lua b/scripts/src/tools.lua index 2bab6a7a890..cb7602a5b54 100644 --- a/scripts/src/tools.lua +++ b/scripts/src/tools.lua @@ -10,8 +10,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -41,8 +42,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -76,8 +78,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -107,8 +110,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "dasm", @@ -145,8 +149,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -179,8 +184,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -213,8 +219,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -244,8 +251,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -275,8 +283,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -306,8 +315,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -339,8 +349,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -370,8 +381,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "utils", @@ -408,8 +420,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "formats", @@ -443,8 +456,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "formats", @@ -479,8 +493,9 @@ options { "ForceCPP", } -configuration { } +if _OPTIONS["SEPARATE_BIN"]~="1" then targetdir(MAME_DIR) +end links { "formats", -- cgit v1.2.3-70-g09d2