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

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
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
commitb7aaa268c5c8a8cecbd03228b481dee43e79b55f (patch)
tree8083040840d175088283ae258a2c861436e3e3f8 /tests
parent0c0a284b18ecb86ec1a1efc71d4a18566f207835 (diff)
Patch 3367642: Add support for targetextension property to Xcode
Diffstat (limited to 'tests')
-rw-r--r--tests/actions/xcode/test_xcode_project.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/actions/xcode/test_xcode_project.lua b/tests/actions/xcode/test_xcode_project.lua
index a5071fe..b7ea96a 100644
--- a/tests/actions/xcode/test_xcode_project.lua
+++ b/tests/actions/xcode/test_xcode_project.lua
@@ -960,6 +960,31 @@
]]
end
+
+ function suite.XCBuildConfigurationTarget_OnTargetExtension()
+ kind "SharedLib"
+ targetextension ".xyz"
+ prepare()
+ xcode.XCBuildConfiguration_Target(tr, tr.products.children[1], tr.configs[1])
+ test.capture [[
+ [libMyProject.xyz:Debug] /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ EXECUTABLE_PREFIX = lib;
+ EXECUTABLE_EXTENSION = xyz;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_MODEL_TUNING = G5;
+ INSTALL_PATH = /usr/local/lib;
+ PRODUCT_NAME = "MyProject";
+ };
+ name = "Debug";
+ };
+ ]]
+ end
+
+
function suite.XCBuildConfigurationTarget_OnInfoPlist()
files { "../../MyProject-Info.plist" }
prepare()