mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-17 08:01:24 +00:00
Add either debug=yes or debug=no to the arguments of a PC build task,
since the debug variable no longer has a clear default for quite some time. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31791 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2613728937
commit
3b73fff1fc
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-12-28 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Framework/PCProjectBuilder.m (-buildArguments): Add either
|
||||
debug=yes or debug=no to the arguments since the debug variable no
|
||||
longer has a clear default for quite some time.
|
||||
|
||||
2010-12-22 German Arias <german@xelalug.org>
|
||||
|
||||
* Headers/ProjectCenter/PCProject.h:
|
||||
|
|
|
@ -329,7 +329,14 @@
|
|||
[args addObjectsFromArray:[projectDict objectForKey:PCBuilderArguments]];
|
||||
|
||||
// --- Get arguments from options
|
||||
if ([[projectDict objectForKey:PCBuilderDebug] isEqualToString:@"NO"])
|
||||
if ([[projectDict objectForKey:PCBuilderDebug] isEqualToString:@"YES"])
|
||||
{ // there is no clear default; the default configuration of GNUstep-make
|
||||
// uses debug=no (since release 2.2.1, it had debug=yes before), but
|
||||
// that default can easily be changed at configuration time with the
|
||||
// --enable-debug-by-default configure option.
|
||||
[args addObject:@"debug=yes"];
|
||||
}
|
||||
else
|
||||
{ // default is 'debug=yes'
|
||||
[args addObject:@"debug=no"];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue