swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional Compilation


From: Ho-Sheng Hsiao
Subject: Re: Conditional Compilation
Date: Tue, 6 Jan 1998 17:10:55 -0500 (EST)

On Tue, 6 Jan 1998, Steve Emsley wrote:
> CPPFLAGS=-DLIGHT

Wouldn't it be easier if you had something like a config.h that includes
all of the defines?

File: config.h
#define LIGHT
/* #undef LIGHT
   Use this to ... (document the define)
 */

And then in the source .m or even the .h file:

#import <config.h>

---hhh     
"Magic is real unless declared an integer." --Rick Cook's Wizardry Compiled.  
"Life is a suicide mission." --Jane, from Orson Scott Card's 
   Children of the Mind.



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]