Thanks for all the help...exactly what I was looking for.

Will

-----Original Message-----
From: Eric VERGNAUD [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 08, 1999 3:57 PM
To: [EMAIL PROTECTED]
Subject: Re : #defines in CW IDE targets


Yes, because they're entirely "manual", so you're sure the IDE won't do 
anything behind your back.

The only precaution to take are the following:
 - place the .pch files at the top of your project files, so they get
evaluated first. I usually put them in a "Precompile" folder.
 - have one separate file for each project/target, generating a different
precompiled header.

I've been using this method for 5 years now with success (I also use CW for
Macintosh development).
--
Eric Vergnaud

President of Street Soft

----------
>De�: Richard Hartman <[EMAIL PROTECTED]>
>� : "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Objet�: RE: #defines in CW IDE targets
>Date�: Ven 8 oct 1999 19:35
>

>
>> -----Original Message-----
>> From: Scott Johnson [mailto:[EMAIL PROTECTED]]
>>
>> "Meyer, Will" wrote:
>> > Is there no way to just add the definitions themselves to the
>> > list of standard ones the compiler applies without involving the
>> > precomiled headers, as you can in VC++?  I will go the pch route,
>> > just seems a little overkill ;-)
>>
>> I'd argue that precompiled headers in VC++ _are_ overkill because they
>> are difficult to set up and use.  (At least when I last used VC++, the
>> PCH feature required funny names and weird pragmas.)  CodeWarrior
>> precompiled headers are much easier, IMHO.
>>
>
> Actually it's darned difficult to shut the darned
> things -off- in VC++.  Even if you change the setting
> to "don't use", it -will- still be used if one is
> left on the disk.  In addition, you set it to not
> use or generate them at the project level and you
> think you're ok, but it ends up that the settings
> on the file stdafx.cpp will still create one unless
> you go to that file's settings and turn it off there!
>
> In general, precompiled header files have been the
> cause of a number of problems in my experience --
> primarily because the IDE doesn't always detect when
> they need to be rebuilt.  Bear in mind that I am
> still talking about the MSDev IDE ... but that
> experience has soured me on the concept pretty
> thoroughly, and I prefer to turn 'em off in CW too.
>
> -Are- precompiled header files in CW reliable?
>
> --
> -Richard M. Hartman
> [EMAIL PROTECTED]
>
> 186,000 mi./sec ... not just a good idea, it's the LAW!
>
> 

Reply via email to