Skip to content

Commit

Permalink
Enabled Objective-C modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Williams committed Aug 24, 2015
1 parent f60bf94 commit 030e72a
Show file tree
Hide file tree
Showing 21 changed files with 23 additions and 25 deletions.
2 changes: 1 addition & 1 deletion MiscMerge/FoundationAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/

#import "FoundationAdditions.h"
#import <Foundation/Foundation.h>
@import Foundation;
#import "NSString+MiscAdditions.h"


Expand Down
2 changes: 1 addition & 1 deletion MiscMerge/MiscMergeExpression.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// for a list of all applicable permissions and restrictions.
//

#import <Foundation/Foundation.h>
@import Foundation;

@class MiscMergeEngine;

Expand Down
2 changes: 1 addition & 1 deletion MiscMerge/_MiscMergeDebugCommand.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//

#import "_MiscMergeDebugCommand.h"
#import <Foundation/Foundation.h>
@import Foundation;
#import "NSString+MiscAdditions.h"
#import "NSScanner+MiscMerge.h"

Expand Down
2 changes: 1 addition & 1 deletion MiscMerge/_MiscMergeProcedureCommand.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//

#import "_MiscMergeProcedureCommand.h"
#import <Foundation/Foundation.h>
@import Foundation;
#import "MiscMergeEngine.h"
#import "MiscMergeTemplate.h"
#import "MiscMergeCommandBlock.h"
Expand Down
2 changes: 1 addition & 1 deletion ddcli/DDCliParseException.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

#import <Foundation/Foundation.h>
@import Foundation;


/**
Expand Down
2 changes: 1 addition & 1 deletion ddcli/DDCliUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* SOFTWARE.
*/

#import <Foundation/Foundation.h>
@import Foundation;

/**
* @ingroup functions
Expand Down
2 changes: 1 addition & 1 deletion ddcli/DDCommandLineInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/


#import <Foundation/Foundation.h>
@import Foundation;
#import <sysexits.h>

#import "DDGetoptLongParser.h"
Expand Down
4 changes: 2 additions & 2 deletions mogenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// Some rights reserved: http://opensource.org/licenses/mit
// https://github.com/rentzsch/mogenerator

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@import Foundation;
@import CoreData;

#import "MiscMergeTemplate.h"
#import "MiscMergeCommandBlock.h"
Expand Down
2 changes: 2 additions & 0 deletions mogenerator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@
1DEB927508733DD40010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_DYNAMIC_NO_PIC = NO;
Expand All @@ -541,6 +542,7 @@
1DEB927608733DD40010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ENABLE_MODULES = YES;
DEPLOYMENT_POSTPROCESSING = NO;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
Expand Down
6 changes: 1 addition & 5 deletions mogenerator_Prefix.pch
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
//
// Prefix header for all source files of the 'mogenerator' target in the 'mogenerator' project.
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
@import Foundation;
#endif
2 changes: 1 addition & 1 deletion momcom/NSAttributeDescription+momcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Tom Harrington. All rights reserved.
//

#import <CoreData/CoreData.h>
@import CoreData;

@interface NSAttributeDescription (momcom)

Expand Down
2 changes: 1 addition & 1 deletion momcom/NSEntityDescription+momcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Tom Harrington. All rights reserved.
//

#import <CoreData/CoreData.h>
@import CoreData;

@interface NSEntityDescription (momcom)

Expand Down
2 changes: 1 addition & 1 deletion momcom/NSFetchRequest+momcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Tom Harrington. All rights reserved.
//

#import <CoreData/CoreData.h>
@import CoreData;

@interface NSFetchRequest (momcom)

Expand Down
2 changes: 1 addition & 1 deletion momcom/NSFetchedPropertyDescription+momcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Tom Harrington. All rights reserved.
//

#import <CoreData/CoreData.h>
@import CoreData;

@interface NSFetchedPropertyDescription (momcom)

Expand Down
2 changes: 1 addition & 1 deletion momcom/NSManagedObjectModel+momcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Tom Harrington. All rights reserved.
//

#import <CoreData/CoreData.h>
@import CoreData;

@interface NSManagedObjectModel (momcom)

Expand Down
2 changes: 1 addition & 1 deletion momcom/NSPropertyDescription+momcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Tom Harrington. All rights reserved.
//

#import <CoreData/CoreData.h>
@import CoreData;

@interface NSPropertyDescription (momcom)

Expand Down
2 changes: 1 addition & 1 deletion momcom/NSRelationshipDescription+momcom.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright (c) 2013 Tom Harrington. All rights reserved.
//

#import <CoreData/CoreData.h>
@import CoreData;

@interface NSRelationshipDescription (momcom)

Expand Down
2 changes: 1 addition & 1 deletion nsenumerate.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
************************************************************************************/

#import <Foundation/Foundation.h>
@import Foundation;

#define nsenumerate_getEnumerator( TYPE, OBJ ) \
(TYPE)([OBJ isKindOfClass:[NSEnumerator class]] \
Expand Down
2 changes: 1 addition & 1 deletion ponso/MKCDAGNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Created by Nikita Zhuk on 22.1.2011.
*/

#import <Foundation/Foundation.h>
@import Foundation;

/**
Generic DAG (Directed Acyclic Graph) implementation
Expand Down
2 changes: 1 addition & 1 deletion ponso/MKCNSEntityDescriptionAdditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Created by Nikita Zhuk on 22.1.2011.
*/

#import <CoreData/CoreData.h>
@import CoreData;


@interface NSEntityDescription(MKCNSEntityDescriptionAdditions)
Expand Down
2 changes: 1 addition & 1 deletion ponso/MKCNSManagedObjectModelAdditions.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Created by Nikita Zhuk on 22.1.2011.
*/

#import <CoreData/CoreData.h>
@import CoreData;


@protocol MKCNSRelationshipDescriptionDependencyFilter<NSObject>
Expand Down

0 comments on commit 030e72a

Please sign in to comment.