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 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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.

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to