Re: Common settings for multiple configurations of projects in VC++ 6.0
From: muchan (usenet_at_usenet.usenet)
Date: 08/04/04
- Previous message: Johan Nilsson: "Re: Remove duplicate symbols from static library?"
- In reply to: Abhisek: "Re: Common settings for multiple configurations of projects in VC++ 6.0"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 04 Aug 2004 12:05:54 +0200
Abhisek wrote:
> Hi Ajay,
>
> That Option is available with cl.exe, but I want to use nmake to
> build my project. Is it possible that if I pass the command file at
> nmake level and those commands will be available to all invocations of
> cl.exe?
>
> Also please let me know that how can I write my options in the command
> file? I mean to say is there any particular format for this?
>
> I have tried to write a command file with /D "Hello" /D "World" but I
> am getting the error for missing double quotation.
>
> By passing these options I want to do the conditional compilation.
>
> Please help me out.
>
> Regards
> Abhishek
>
I'm using nmake for my projects, and I translate the debug version and
release version the same way, (i.e. always debug compile option) and
just call linker with no debug info option to make release version.
I may be missing some funcy things about compiling two versions,
and I maybe missing some optimization possibility, but I had nightmares
having some problems that appeared only in release versions, now I'm
free from such kind of bugs. What I test is what users get. :)
For some kinds of special debug build, like similating devices, or to
test on computer not supposed to run the release version, etc.,
I define some constant in header files.
So, I rather make debug version at source level, than compiler level.
Just as info, HIH, though it may not help you.
muchan
- Previous message: Johan Nilsson: "Re: Remove duplicate symbols from static library?"
- In reply to: Abhisek: "Re: Common settings for multiple configurations of projects in VC++ 6.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|