-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new class and attributes to hold new data
- Loading branch information
Showing
8 changed files
with
109 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,19 @@ | |
Written by: Gregory John Casamento <[email protected]> | ||
Date: 2022 | ||
This file is part of the GNUstep XCode Library | ||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2 of the License, or (at your option) any later version. | ||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free | ||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
|
@@ -40,10 +40,10 @@ - (instancetype) initWithName: (NSString *)theName | |
self = [super init]; | ||
if (self != nil) | ||
{ | ||
[self setBuildSettings: settings]; | ||
[self setBuildSettings: settings]; | ||
[self setName: theName]; | ||
} | ||
return self; | ||
return self; | ||
} | ||
|
||
- (instancetype) initWithName: (NSString *)theName | ||
|
@@ -101,7 +101,7 @@ - (void) apply | |
{ | ||
id value = [buildSettings objectForKey: key]; | ||
if ([value isKindOfClass: [NSString class]]) | ||
{ | ||
{ | ||
setenv([key cString],[value cString],1); | ||
} | ||
else if([value isKindOfClass: [NSArray class]]) | ||
|
@@ -112,17 +112,17 @@ - (void) apply | |
} | ||
else | ||
{ | ||
NSDebugLog(@"\tWARNING: Can't interpret value %@, for environment variable %@", value, key); | ||
NSDebugLog(@"\tWARNING: Can't interpret value %@, for environment variable %@", value, key); | ||
} | ||
} | ||
|
||
if ([buildSettings objectForKey: @"TARGET_BUILD_DIR"] == nil) | ||
{ | ||
NSDebugLog(@"\tEnvironment: TARGET_BUILD_DIR = build (built-in)"); | ||
setenv("TARGET_BUILD_DIR","build",1); | ||
[context setObject: @"build" forKey: @"TARGET_BUILD_DIR"]; | ||
} | ||
|
||
if ([buildSettings objectForKey: @"BUILT_PRODUCTS_DIR"] == nil) | ||
{ | ||
NSDebugLog(@"\tEnvironment: BUILT_PRODUCTS_DIR = build (built-in)"); | ||
|