summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/tools.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-08 08:52:02 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-08 08:52:02 +0200
commitcc35d05ec05209e6c453be96e16d32dcb15c3f1b (patch)
tree1aafde544d949f4dfa4011e6fe419b1fd184b845 /scripts/src/tools.lua
parent03275c7b68de15c88b7cd427f52593bf4ec47102 (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/tools.lua')
-rw-r--r--scripts/src/tools.lua45
1 files changed, 30 insertions, 15 deletions
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",