__FILE__ is absolute, howto get relative?
__FILE__ is absolute, howto get relative?
- Subject: __FILE__ is absolute, howto get relative?
- From: Simon Strandgaard <email@hidden>
- Date: Tue, 8 Nov 2005 23:53:09 +0100
greetings xcoders,
Any __FILE__ alternative that yields a path relative to the project?
cout << "file: " << __FILE__ << endl;
file: /Users/simonstrandgaard/code/wc/repo/aeditor/experimental.mm
Is there an option or a define I have overlooked?
Well I could extract 'experimental.mm' manually.
Thanks in advance :-)
--
Simon Strandgaard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden