Can now open project with a plist file

This commit is contained in:
starkos 2009-09-03 18:48:34 +00:00
parent 320b204c31
commit bb41d3f185
2 changed files with 20 additions and 1 deletions

View File

@ -641,7 +641,6 @@
_p(4,'ONLY_ACTIVE_ARCH = YES;')
_p(4,'PREBINDING = NO;')
_p(4,'SDKROOT = macosx10.5;')
-- I don't have any concept of a solution level objects directory so use the first project
local prj1 = premake.getconfig(sln.projects[1])
_p(4,'SYMROOT = %s;', xcode.rebase(prj1, prj1.objectsdir))

View File

@ -484,3 +484,23 @@
};
]]
end
function T.xcode3.XCBuildConfiguration_SetsWindowedAppOutputDir()
kind "WindowedApp"
prepare()
xcode.XCBuildConfiguration(ctx.targets[1], premake.getconfig(ctx.targets[1].prjnode.project, "Debug"))
test.capture [[
[MyProject:Debug] /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CONFIGURATION_BUILD_DIR = .;
GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = G5;
PRODUCT_NAME = MyProject;
SYMROOT = obj/Debug;
};
name = Debug;
};
]]
end