summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-17 17:53:03 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-17 17:53:03 +0100
commit18ec822ac3e8639d5b72be2b0a310b2b3825dc64 (patch)
tree2a47388bada65e342d1bc49544e7a2fe7b540f5c /scripts/src/main.lua
parent5365c003e2109b8809af0a52987d92ce43afe348 (diff)
Keep naming of binaries for builds made with SOURCES to be same as usual, (nw)
fixed propagation of flags for builds made with SOURCES
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index df5e77641a3..da633c55212 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -44,7 +44,7 @@ end
flags {
"Unicode",
}
-if (_OPTIONS["SOURCES"] == nil) then
+
configuration { "x64", "Release" }
targetsuffix "64"
if _OPTIONS["PROFILE"] then
@@ -80,7 +80,7 @@ if (_OPTIONS["SOURCES"] == nil) then
if _OPTIONS["PROFILE"] then
targetsuffix "dp"
end
-end
+
configuration { "mingw*" or "vs*" }
targetextension ".exe"