[CMake] visual studio working directory

Yuri V. Timenkov ytimenkov at parallels.com
Tue Aug 5 11:19:02 EDT 2008


On Tuesday 05 August 2008 19:10:04 Mehdi Rabah wrote:
> Hi,
>
> I was wondering what is the default working directory while debugging a
> target in visual studio ? Is it $EXECUTABLE_OUTPUT_PATH ?
As I know, CMake doesn't deal with debugging settings in VS projects, because 
they are stored in proprietary binary format. But you can freely customize 
these settings and CMake shouldn't touch them.

>
> I'm using a relative path for finding a file in my code and I have a
> problem because the working dir should be (for me)
> $EXECUTABLE_OUTPUT_PATH/Debug or $EXECUTABLE_OUTPUT_PATH/Release (or
> whatever where the binaries are).
>
> I've also found this message :
> http://www.mail-archive.com/cmake@cmake.org/msg14461.html
> Did you have a chance to work on this ?
>
> Regards
> --
> Mehdi



More information about the CMake mailing list