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

Brad King brad.king at kitware.com
Wed Aug 2 17:24:01 EDT 2006


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
> hidden file that always lays right next to the .sln, but it's an
> undocumented binary file.
> 
> I believe there is an implied CWD for a project which is the location of
> the project's .sln file.

Thanks.  I've created a FAQ entry for this:

http://www.cmake.org/Wiki/CMake_FAQ#Can_CMake_set_the_Debugging.2FWorking_Directory_property_in_Visual_Studio_projects.3F

-Brad


More information about the CMake mailing list