There was a post on this a while ago that you can find with the right google search - apparently it's not possible because the working directory is stored in your solution's *.suo user options file which is saved by Visual Studio for each solution. CMake doesn't generate those and isn't able to easily.
I've found that after setting the debug working directory in my VS solution it doesn't get overwritten when CMake rebuilds project/solution files. But if you're doing out of source builds you have to obviously avoid deleting the whole build folder because along with the generated projects, you'll be deleting your .suo file. Sam ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christophe Riccio Sent: Friday, November 07, 2008 3:30 AM To: [email protected] Subject: [CMake] Visual Studio debbuging working directory Hi! I'm new to use CMake and I'm still learning how to get what I need. Is there any variable to setup the debbuging working directory so that when I launch the software from Visual Studio it gets the right location for the files? Thanks! Big Fish Games, Inc. A New Game Every Day!
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
