Command line option to specify the import for a custom base class rather than assuming it is local to the project #135

Merged
merged 1 commit into from Oct 26, 2012

Conversation

Projects
None yet
2 participants
Contributor

davidAtGVC commented Oct 26, 2012

The objective was to specify a base class that was being loaded from a static library project rather than the local project. An Example might be
--base-class GVCManagedObject
--base-class-import "<GVCCoreData/GVCManagedObject.h>"

@davidAtGVC davidAtGVC Added command line option for --base-class-import
The objective was to specify a base class that was being loaded from a static library project rather than the local project.  This was the
--base-class GVCManagedObject \
--base-class-import "<GVCCoreData/GVCManagedObject.h>"
7d2e730
Owner

rentzsch commented Oct 26, 2012

Hi David,

Sorry I don't understand your example. Did you mean to specify an empty string for --base-class-import ""?

Contributor

davidAtGVC commented Oct 26, 2012

no, github ate my comment. the intended argument was

--base-class GVCManagedObject \
--base-class-import "<GVCCoreData/GVCManagedObject.h>"
Contributor

davidAtGVC commented Oct 26, 2012

The result from the template would then be

#import <GVCCoreData/GVCManagedObject.h>

instead of

#import "GVCManagedObject.h"
Owner

rentzsch commented Oct 26, 2012

Yeah, that makes a lot more sense :-) Pulled. Thanks!

@rentzsch rentzsch added a commit that referenced this pull request Oct 26, 2012

@rentzsch rentzsch Merge pull request #135 from davidAtGVC/master
[NEW] --base-class-import option to specify base classes that are in another location (subproject). David Aspinall
6746f96

@rentzsch rentzsch merged commit 6746f96 into rentzsch:master Oct 26, 2012

@ddrccw ddrccw pushed a commit to ddrccw/mogenerator that referenced this pull request Jan 20, 2014

@rentzsch rentzsch Merge pull request #135 from davidAtGVC/master
[NEW] --base-class-import option to specify base classes that are in another location (subproject). David Aspinall
5351c0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment