[CMake] VisualStudio debug command
Probably newby question: Under Visual Studio, at least from VS 7, a project can have debugging command and command arguments. Is it possible to set them in a CMakeFile ? Thanks a lot Luigi ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
RE: [CMake] VisualStudio debug command
Hi Luigi, I believe debugging info is held in a binary file - *.suo for vc7 - so would be tricky to set using cmake without using the vcproject automation engine. Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luigi Calori Sent: 28 March 2006 12:45 To: cmake@cmake.org Subject: [CMake] VisualStudio debug command Probably newby question: Under Visual Studio, at least from VS 7, a project can have debugging command and command arguments. Is it possible to set them in a CMakeFile ? Thanks a lot Luigi ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VisualStudio debug command
[EMAIL PROTECTED] wrote: Hi Luigi, I believe debugging info is held in a binary file - *.suo for vc7 - so would be tricky to set using cmake without using the vcproject automation engine. Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luigi Calori Sent: 28 March 2006 12:45 To: cmake@cmake.org Subject: [CMake] VisualStudio debug command Probably newby question: Under Visual Studio, at least from VS 7, a project can have debugging command and command arguments. Is it possible to set them in a CMakeFile ? Thanks a lot Luigi Ok, it' s a pity: we are developing ActiveX and Moxilla plugins, so, in either cases, we need to debug our plugin by starting IE or Firefox with a specific test.html that, in turns, start our plugin. SO we currently set Visual Studio debug parameters. within the user interface. We would like to use CMake for producing the vcprojects, so we would like to find a way to reprouce actual projects with CMake. Alternatively is there a way to run the debugger from the command line, so being able CMake to configure a .bat file to run the debugger with specific parameters? thanks again ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] VisualStudio debug command
From a "Visual Studio Command Prompt" type "devenv /?"... You should be able to use a command line like this to invoke the debugger on a given exe with a given command line: "C:\full\path\to\devenv" "C:\full\path\to\your.exe" /run /debugexe arg1 arg2 arg3 The problem is, if you specify a .exe like this, it prompts you to save a "wrapper sln" file next to the exe the first time you do it. Then you can specify that wrapper .sln file on subsequent runs... Play around with it. I'm sure there's *almost* a way to do what you want... :-) Hope this helps, David Luigi Calori wrote: [EMAIL PROTECTED] wrote: Hi Luigi, I believe debugging info is held in a binary file - *.suo for vc7 - so would be tricky to set using cmake without using the vcproject automation engine. Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luigi Calori Sent: 28 March 2006 12:45 To: cmake@cmake.org Subject: [CMake] VisualStudio debug command Probably newby question: Under Visual Studio, at least from VS 7, a project can have debugging command and command arguments. Is it possible to set them in a CMakeFile ? Thanks a lot Luigi Ok, it' s a pity: we are developing ActiveX and Moxilla plugins, so, in either cases, we need to debug our plugin by starting IE or Firefox with a specific test.html that, in turns, start our plugin. SO we currently set Visual Studio debug parameters. within the user interface. We would like to use CMake for producing the vcprojects, so we would like to find a way to reprouce actual projects with CMake. Alternatively is there a way to run the debugger from the command line, so being able CMake to configure a .bat file to run the debugger with specific parameters? thanks again ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake