Mailing Lists: Apple Mailing Lists

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

Re: Info.plist preprocessor macro expansion, space between tokens




On Apr 28, 2006, at 4:49 PM, Alex Sheh wrote:

Is there anyway to get the Info.plist preprocessor NOT to add whitespace between tokens during macro expansion?
 
Info.plist prefix header
#define MAJOR 1
#define MINOR 2
#define MICRO 3
 
Info.plist contents
<key> CFBundleShortVersionString <\key>
<string> MAJOR.MINOR.MICRO <\string>
 
With these values I get 1 . 2 . 3 in the application’s Preview Pane.  What I’d like to see is 1.2.3 without spaces separating the version numbers and dots.  Is this possible?


Some have reported success setting the "Info.plist Other Preprocessor Flags" to "-CC".  Give it a try.

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

This email sent to email@hidden

References: 
 >Info.plist preprocessor macro expansion, space between tokens (From: "Alex Sheh" <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.