From b7aaa268c5c8a8cecbd03228b481dee43e79b55f Mon Sep 17 00:00:00 2001 From: Jason Perkins Date: Thu, 4 Oct 2012 17:38:58 -0400 Subject: Patch 3367642: Add support for targetextension property to Xcode --- tests/actions/xcode/test_xcode_project.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'tests') 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() -- cgit v1.2.3