You've already forked lazarus-ccr
iphonelazext: fix pbxtest compilation to use new function names
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4424 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -180,7 +180,7 @@ begin
|
|||||||
//ScanAString( ReadFileToString(ParamStr(1)));
|
//ScanAString( ReadFileToString(ParamStr(1)));
|
||||||
//ParseAString( ReadFileToString(ParamStr(1)));
|
//ParseAString( ReadFileToString(ParamStr(1)));
|
||||||
//TestProject( ReadFileToString(ParamStr(1)));
|
//TestProject( ReadFileToString(ParamStr(1)));
|
||||||
if LoadProjectFromFile(ParamStr(1), prj) then begin
|
if ProjectLoadFromFile(ParamStr(1), prj) then begin
|
||||||
//list:=TList.Create;
|
//list:=TList.Create;
|
||||||
//PBXGatherObjects(prj, list);
|
//PBXGatherObjects(prj, list);
|
||||||
Write(ProjectWrite(prj));
|
Write(ProjectWrite(prj));
|
||||||
@ -214,7 +214,7 @@ var
|
|||||||
//cfg : XCBuildConfiguration;
|
//cfg : XCBuildConfiguration;
|
||||||
ph : PBXShellScriptBuildPhase;
|
ph : PBXShellScriptBuildPhase;
|
||||||
begin
|
begin
|
||||||
p:=CreateMinProject;
|
p:=ProjectCreateMin;
|
||||||
p.buildConfigurationList._headerComment:=p.buildConfigurationList._headerComment+' for PBXProject "test"';
|
p.buildConfigurationList._headerComment:=p.buildConfigurationList._headerComment+' for PBXProject "test"';
|
||||||
p.attributes.AddStr('LastUpgradeCheck','0610');
|
p.attributes.AddStr('LastUpgradeCheck','0610');
|
||||||
t:=ProjectAddTarget(p,'targetto');
|
t:=ProjectAddTarget(p,'targetto');
|
||||||
@ -222,8 +222,8 @@ begin
|
|||||||
ph.shellScript:='echo "hello world"';
|
ph.shellScript:='echo "hello world"';
|
||||||
//ph.buildActionMask:='0';
|
//ph.buildActionMask:='0';
|
||||||
|
|
||||||
ph.runOnlyForDeploymentPostprocessing:='0';
|
ph.runOnlyForDeploymentPostprocessing:=false;
|
||||||
t.productReference:=CreateFileRef('targetto', FILETYPE_EXEC);
|
t.productReference:=FileRefCreate('targetto', FILETYPE_EXEC);
|
||||||
PBXFileReference(t.productReference).sourceTree:='BUILT_PRODUCTS_DIR';
|
PBXFileReference(t.productReference).sourceTree:='BUILT_PRODUCTS_DIR';
|
||||||
t.productName:='targetto';
|
t.productName:='targetto';
|
||||||
t.productType:=PRODTYPE_TOOL;
|
t.productType:=PRODTYPE_TOOL;
|
||||||
@ -245,7 +245,7 @@ begin
|
|||||||
cfg.buildSettings.AddStr('PRODUCT_NAME', 'targetto'); }
|
cfg.buildSettings.AddStr('PRODUCT_NAME', 'targetto'); }
|
||||||
|
|
||||||
|
|
||||||
p.mainGroup:=CreateRootGroup('/Users/dmitry/pbx/utils/test.xcodeproj');
|
p.mainGroup:=GroupCreateRoot('/Users/dmitry/pbx/utils/test.xcodeproj');
|
||||||
// requirements ?
|
// requirements ?
|
||||||
prd:=p.mainGroup.addSubGroup('Products');
|
prd:=p.mainGroup.addSubGroup('Products');
|
||||||
prd.children.Add(t.productReference);
|
prd.children.Add(t.productReference);
|
||||||
|
Reference in New Issue
Block a user