Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cpp defines for XCode vs autools



Hi:

I would like my code to be able to distinguish if it is being compiled with XCode or with autotools. The main reason is that some paths for files that are read without user intervention are different for each case: with XCode, they are in "Application Support/MyApp/", while with autotools they are in <prefix>/share/MyApp/. I couldn't find any preprocessor variable that might be defined in one case and not in the other. Any tips?

Thanks,

Paulo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.