Re: Common settings for multiple configurations of projects in VC++ 6.0

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ajay Kalra (ajaykalra_at_yahoo.com)
Date: 08/03/04


Date: Tue, 3 Aug 2004 17:03:40 -0400

I dont use nmake so I am not sure. However I dont see why that would be a
problem as nmake is going to launch cl.exe regardless and it should
therefore work.

As far as the missing quotation is concerned, I am not too sure. I have done
this successfully(did it a long time ago). MSDN/Google is your best bet.

--
Ajay Kalra [MVP - VC++]
ajaykalra@yahoo.com
"Abhisek" <atandon@ipolicynet.com> wrote in message
news:2b3fdab2.0408030228.59f2484e@posting.google.com...
> 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
>
>
>
> atandon@ipolicynet.com (Abhisek) wrote in message
news:<2b3fdab2.0408012114.3be8fac2@posting.google.com>...
> > Hi Ajay,
> >
> >    Thanks for the reply. After looking for this option I will get back
to you soon.
> >
> > Regards
> > Abhishek
> >
> > "Ajay Kalra" <ajaykalra@yahoo.com> wrote in message
news:<uBu11W5dEHA.3632@TK2MSFTNGP11.phx.gbl>...
> > > If I understand you correctly, you should be able to do this. You can
> > > specify all your options in a separate file for each of the
configurations.
> > > Then you can specify this file using @ sign in the command line. See
help in
> > > MSDN to do this. I did this a while ago and it worked very well.
> > >
> > > --
> > > Ajay Kalra [MVP - VC++]
> > > ajaykalra@yahoo.com
> > >
> > >
> > > "Abhisek" <atandon@ipolicynet.com> wrote in message
> > > news:2b3fdab2.0407300341.67d01027@posting.google.com...
> > > > Hi,
> > > >
> > > >    Can anyone let me know the way to use the common settings for all
> > > > the configuration of the project (like release,debug,
> > > > release custom 1, release custom 2)? What I mean to say that can I
> > > > have a Parent Child relationship among configurations so that I can
> > > > define my common settings in one file while the setting peratining
to
> > > > a particular configuration in that configuration only.
> > > >
> > > > Regards
> > > > Abhishek


Relevant Pages

  • Re: Common settings for multiple configurations of projects in VC++ 6.0
    ... That Option is available with cl.exe, but I want to use nmake to ... Also please let me know that how can I write my options in the command ... Regards ...
    (microsoft.public.vc.ide_general)
  • Problem with .cxx files
    ... ..cxx suffix. ... It seems that nmake is unable to proceed, ... Regards. ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: Error on Compiling LCC on WinXP VS6
    ... Yeah I read the installation instructions.. ... then I enter the command.. ... the nmake one.. ... First time when I was compiling I was using VS.net, ...
    (comp.compilers.lcc)
  • Re: Stop NMAKE processing
    ... Alan Adams wrote: ... accept since the command processor NMAKE launched has probably exited ... I've been able to create a solution by invoking an .EXE from NMAKE ... and then returns as the .EXE's exit code whatever errorlevel ...
    (microsoft.public.vstudio.general)
  • Re: Stop NMAKE processing
    ... Executing the command block for a target. ... Batch file determines something is wrong, ... But how to stop NMAKE processing as though there has been an error? ...
    (microsoft.public.vstudio.general)