Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2012-10-05 01:38:58 +0400
committerJason Perkins <starkos@industriousone.com>2012-10-05 01:38:58 +0400
commit95ef68312c107eb78b93b215b07e64702879d806 (patch)
tree8083040840d175088283ae258a2c861436e3e3f8 /src/actions
parentc538fd7d3969d1c5f2a4502eb20703ca5c25ed3e (diff)
Patch 3367642: Add support for targetextension property to Xcode
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/xcode/xcode_common.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/xcode/xcode_common.lua b/src/actions/xcode/xcode_common.lua
index 1870d48..b9f67de 100644
--- a/src/actions/xcode/xcode_common.lua
+++ b/src/actions/xcode/xcode_common.lua
@@ -683,6 +683,12 @@
_p(4,'EXECUTABLE_PREFIX = %s;', cfg.buildtarget.prefix)
end
+ if cfg.targetextension then
+ local ext = cfg.targetextension
+ ext = iif(ext:startswith("."), ext:sub(2), ext)
+ _p(4,'EXECUTABLE_EXTENSION = %s;', ext)
+ end
+
local outdir = path.getdirectory(cfg.buildtarget.bundlepath)
if outdir ~= "." then
_p(4,'CONFIGURATION_BUILD_DIR = %s;', outdir)