On Wed, Feb 9, 2011 at 2:30 PM, Robert Bielik <robert.bie...@xponaut.se> wrote: > Louis Hoefler skrev 2011-02-09 19:41: >> >> Hello everyone, >> i created cmake files for a visual studio solution. >> The solution compiles, and now I want to >> start debugging the testapplication. >> >> I want to change the command line option, >> which is used by the debugger, to invoke the application. >> >> How can this be done? >> >> I use cmake 2.8.3 and visual studio 2010. > > I don't think you can. Those settings are not in any project/solution file > but are stored as user settings, which of course > CMake has nothing to do with. >
You could generate this file in cmake using cmake file commands. The user files are xml. Here is an example: <?xml version="1.0" encoding="Windows-1252"?> <VisualStudioUserFile ProjectType="Visual C++" Version="9.00" ShowAllFiles="false" > <Configurations> <Configuration Name="Debug|Win32" > <DebugSettings Command="$(TargetPath)" WorkingDirectory="" CommandArguments="" Attach="false" DebuggerType="3" Remote="1" RemoteMachine="RADIMGWS61" RemoteCommand="" HttpUrl="" PDBPath="" SQLDebugging="" Environment="" EnvironmentMerge="true" DebuggerFlavor="" MPIRunCommand="" MPIRunArguments="" MPIRunWorkingDirectory="" ApplicationCommand="" ApplicationArguments="" ShimCommand="" MPIAcceptMode="" MPIAcceptFilter="" /> </Configuration> <Configuration Name="RelWithDebInfo|Win32" > <DebugSettings Command="$(TargetPath)" WorkingDirectory="" CommandArguments="" Attach="false" DebuggerType="3" Remote="1" RemoteMachine="RADIMGWS61" RemoteCommand="" HttpUrl="" PDBPath="" SQLDebugging="" Environment="" EnvironmentMerge="true" DebuggerFlavor="" MPIRunCommand="" MPIRunArguments="" MPIRunWorkingDirectory="" ApplicationCommand="" ApplicationArguments="" ShimCommand="" MPIAcceptMode="" MPIAcceptFilter="" /> </Configuration> </Configurations> </VisualStudioUserFile> John _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake