mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-17 08:01:24 +00:00
Generate sections only if there are classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@38251 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4111197fd7
commit
5c25a46af2
2 changed files with 18 additions and 11 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-12-16 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Framework/PCMakefileFactory.m
|
||||
Generate sections only if there are classes.
|
||||
|
||||
2014-12-15 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Framework/PCMakefileFactory.m
|
||||
|
|
|
@ -342,7 +342,7 @@ static PCMakefileFactory *_factory = nil;
|
|||
NSEnumerator *oenum;
|
||||
NSMutableArray *marray = nil;
|
||||
NSMutableArray *mmarray = nil;
|
||||
NSString *file;
|
||||
NSString *file;
|
||||
|
||||
if (array == nil || [array count] == 0)
|
||||
{
|
||||
|
@ -370,17 +370,19 @@ static PCMakefileFactory *_factory = nil;
|
|||
}
|
||||
}
|
||||
|
||||
[self appendString:COMMENT_CLASSES];
|
||||
[self appendString:
|
||||
[NSString stringWithFormat: @"%@_OBJC_FILES = \\\n",target]];
|
||||
if (marray)
|
||||
{
|
||||
[self appendString:COMMENT_CLASSES];
|
||||
[self appendString: [NSString stringWithFormat: @"%@_OBJC_FILES = \\\n",target]];
|
||||
[self appendString: [marray componentsJoinedByString: @" \\\n"]];
|
||||
}
|
||||
|
||||
[self appendString: [marray componentsJoinedByString: @" \\\n"]];
|
||||
|
||||
[self appendString:COMMENT_OCPPCLASSES];
|
||||
[self appendString:
|
||||
[NSString stringWithFormat: @"%@_OBJCC_FILES = \\\n",target]];
|
||||
|
||||
[self appendString: [mmarray componentsJoinedByString: @" \\\n"]];
|
||||
if (mmarray)
|
||||
{
|
||||
[self appendString:COMMENT_OCPPCLASSES];
|
||||
[self appendString: [NSString stringWithFormat: @"%@_OBJCC_FILES = \\\n",target]];
|
||||
[self appendString: [mmarray componentsJoinedByString: @" \\\n"]];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)appendOtherSources:(NSArray *)array
|
||||
|
|
Loading…
Reference in a new issue