Re: Common settings for multiple configurations of projects in VC++ 6.0
From: Ajay Kalra (ajaykalra_at_yahoo.com)
Date: 08/03/04
- Next message: Gary Chang: "RE: Remove duplicate symbols from static library?"
- Previous message: Joe Greer: "Re: how to obtain monitor's properties?"
- In reply to: Abhisek: "Re: Common settings for multiple configurations of projects in VC++ 6.0"
- Next in thread: muchan: "Re: Common settings for multiple configurations of projects in VC++ 6.0"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Gary Chang: "RE: Remove duplicate symbols from static library?"
- Previous message: Joe Greer: "Re: how to obtain monitor's properties?"
- In reply to: Abhisek: "Re: Common settings for multiple configurations of projects in VC++ 6.0"
- Next in thread: muchan: "Re: Common settings for multiple configurations of projects in VC++ 6.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|