summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/main.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-25 13:02:38 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-25 13:02:38 +0200
commit3a37417a6ba315f237c2db958e337a8493def5eb (patch)
treed00a7dad9dfcaa7adbfae2e79702e243db576b03 /scripts/src/main.lua
parent371096e892c443750f51a5886592abf1e1278aa8 (diff)
use target suffixes only for main executable (nw)
Diffstat (limited to 'scripts/src/main.lua')
-rw-r--r--scripts/src/main.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/src/main.lua b/scripts/src/main.lua
index a109bea87dd..80e3d1bf09a 100644
--- a/scripts/src/main.lua
+++ b/scripts/src/main.lua
@@ -28,6 +28,42 @@ function mainProject(_target, _subtarget)
"Unicode",
}
+ configuration { "x64", "Release" }
+ targetsuffix "64"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "64p"
+ end
+
+ configuration { "x64", "Debug" }
+ targetsuffix "64d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "64dp"
+ end
+
+ configuration { "x32", "Release" }
+ targetsuffix ""
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "p"
+ end
+
+ configuration { "x32", "Debug" }
+ targetsuffix "d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "dp"
+ end
+
+ configuration { "Native", "Release" }
+ targetsuffix ""
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "p"
+ end
+
+ configuration { "Native", "Debug" }
+ targetsuffix "d"
+ if _OPTIONS["PROFILE"] then
+ targetsuffix "dp"
+ end
+
configuration { "mingw*" or "vs*" }
targetextension ".exe"