__FILE__ has full path
__FILE__ has full path
- Subject: __FILE__ has full path
- From: Frederik Seiffert <email@hidden>
- Date: Mon, 31 May 2004 20:22:52 +0200
- Organization: equinux Inc.
Hi!
I'm using the C macro "__FILE__" to display the filename in debug
messages. When building the project with XCode, this macro expands to
the full path of the file. I could of course write a small function to
extract the filename from the path, but then the binary would still
contain the full path which could be seen with "strings".
Is there any way to get XCode to use only the filename with this macro?
Thanks,
Frederik
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.