[CMake] Setting Working Directory for Debugging in MS VC++ via CMake

2006-08-02 Thread Steve Johns
Recently, in an MS VC++ 7.1 (.NET 2003) build prepared using CMake, I've had a problem with the application finding a config file that it needs to read at startup. Even though I placed the file in the app's startup dir (i.e. 'blahblah/Debug', when debugging ) the app was not finding the file.

Re: [CMake] Setting Working Directory for Debugging in MS VC++ via CMake

2006-08-02 Thread Brad King
Steve Johns wrote: > Recently, in an MS VC++ 7.1 (.NET 2003) build prepared using CMake, I've > had a problem with the application finding a config file that it needs > to read at startup. Even though I placed the file in the app's startup > dir (i.e. 'blahblah/Debug', when debugging ) the app was

Re: [CMake] Setting Working Directory for Debugging in MS VC++ via CMake

2006-08-02 Thread Jorge Rodriguez
Brad King wrote: This property is not actually stored in the project files, so CMake cannot set the value. It is stored in some file inside the %APPDATA% directory for Visual Studio. Actually I believe it's stored in the projectname.suo file. It's a hidden file that always lays right next

Re: [CMake] Setting Working Directory for Debugging in MS VC++ via CMake

2006-08-02 Thread Brad King
Jorge Rodriguez wrote: > Brad King wrote: >> This property is not actually stored in the project files, so CMake >> cannot set the value. It is stored in some file inside the %APPDATA% >> directory for Visual Studio. >> > > Actually I believe it's stored in the projectname.suo file. It's a > h

Re: [CMake] Setting Working Directory for Debugging in MS VC++ via CMake

2006-08-03 Thread Steve Johns
Thanks for the scoop regarding the storage of the 'Working Directory' property. It's too bad Microsoft's use of the .suo file here doesn't play so well with others ... Nice though, that this is now part of the FAQ document. Cheers! :^) ___ CM