Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

ghost
Copy link

@ghost ghost 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>"

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>"
@rentzsch
Copy link
Owner

Hi David,

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

@ghost
Copy link
Author

ghost commented Oct 26, 2012

no, github ate my comment. the intended argument was

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

@ghost
Copy link
Author

ghost commented Oct 26, 2012

The result from the template would then be

#import <GVCCoreData/GVCManagedObject.h>

instead of

#import "GVCManagedObject.h"

@rentzsch
Copy link
Owner

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

rentzsch added a commit that referenced this pull request Oct 26, 2012
[NEW] --base-class-import option to specify base classes that are in another location (subproject). David Aspinall
@rentzsch rentzsch merged commit 6746f96 into rentzsch:master Oct 26, 2012
ddrccw pushed a commit to ddrccw/mogenerator that referenced this pull request Jan 20, 2014
[NEW] --base-class-import option to specify base classes that are in another location (subproject). David Aspinall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant