mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-20 09:30:59 +00:00
the principal class should now be set in any cases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@8584 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b9b4075e9f
commit
6edda48f03
1 changed files with 9 additions and 2 deletions
|
@ -81,9 +81,16 @@ static PCBundleMakefileFactory *_factory = nil;
|
|||
[string appendString:[NSString stringWithFormat:@"BUNDLE_NAME=%@\n",prName]];
|
||||
[string appendString:[NSString stringWithFormat:@"BUNDLE_EXTENSION=.bundle\n"]];
|
||||
[string appendString:[NSString stringWithFormat:@"BUNDLE_INSTALL_DIR=%@\n",installDir]];
|
||||
if ([prDict objectForKey:PCPrincipalClass]) {
|
||||
[string appendString:[NSString stringWithFormat:@"%@_PRINCIPAL_CLASS=%@\n",prName,[prDict objectForKey:PCPrincipalClass]]];
|
||||
if ((tmp = [prDict objectForKey:PCPrincipalClass]) &&
|
||||
[tmp isEqualToString:@""] == NO) {
|
||||
}
|
||||
else if ((tmp = [[prDict objectForKey:PCClasses] objectAtIndex:0])) {
|
||||
}
|
||||
else {
|
||||
tmp = [NSString string];
|
||||
}
|
||||
|
||||
[string appendString:[NSString stringWithFormat:@"%@_PRINCIPAL_CLASS=%@\n",prName,tmp]];
|
||||
|
||||
[string appendString:@"#\n\n"];
|
||||
[string appendString:@"# Additional libraries\n"];
|
||||
|
|
Loading…
Reference in a new issue