[CMake] Setting command line arguments for visual
Olivier Tournaire
olitour at gmail.com
Sun Mar 9 14:16:12 EDT 2008
Thank you Philip for your answer.
My problem is not to choose the configuration, but how to set the
command line arguments. That means the parameters passed to the
programm, when launched from visual studio IDE (*argc).
Is there a way to do this ?
Regards,
Olivier
Philip Lowman a écrit :
> On Tue, Mar 4, 2008 at 2:04 PM, Olivier Tournaire <olitour at gmail.com
> <mailto:olitour at gmail.com>> wrote:
>
> Hi all,
>
> I would like to know if it is possible to set the command line
> arguments
> for visual studio.
> If so, do I have to make a difference beetwen release and debug ?
>
>
> Olivier,
>
> I'm a little bit confused over your message so please respond and I'll
> try to help.
>
> If you're using Visual Studio with a CMake generated project you will
> have a choice of Debug or Release solutions from the dropdown list of
> release configurations after you start the application.
>
> If you're looking for a way to get Visual Studio to default to the
> release configuration that you want when loading up your solution,
> nobody has found a way to do this (although patches would be welcome).
>
> If you're asking something else, please clarify.
>
> --
> Philip Lowman
--
Le temps des cerises reviendra. Dans l'immédiat, c'est le temps des noyaux. Courage.
More information about the CMake
mailing list