Re: __FILE__ is absolute, howto get relative?
Re: __FILE__ is absolute, howto get relative?
- Subject: Re: __FILE__ is absolute, howto get relative?
- From: Scott Tooker <email@hidden>
- Date: Tue, 8 Nov 2005 14:59:16 -0800
Not currently, and there are not any plans to provide that in the
future.
Scott
On Nov 8, 2005, at 2:53 PM, Simon Strandgaard wrote:
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
_______________________________________________
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