[CMake] Setting a Visual Studio project's working directory

Bill Hoffman bill.hoffman at kitware.com
Wed Jun 11 10:48:47 EDT 2008


James Bigler wrote:
> In visual studio, you can set a project's working directory from the
> properties dialog (project->Properties->Configuration
> Properties->Debugging->Working Directory).
> 
> Is it possible to set this from CMake somehow?
> 
> I parsed through the man page and didn't see anything.
> 
> I googled this page
> (http://developer.popcap.com/forums/showthread.php?t=2331), but that
> suggested moving the output location of the file to a consistent
> location.  I want to be able to make the working directory in the
> source directory, and since I want to do an out of source build, I
> need to make the working directory the source directory.
> 

Sorry, that is not possible.  That info is stored in a binary file that 
CMake can not create.

-Bill


More information about the CMake mailing list