On 24. Jan, 2010, at 20:51 , Timothy Reaves wrote: > Is there a way to set the working directory? It defaults to the > generated project directory, when it probably - and in this case definitely - > should be the project directory itself.
Do you mean the working directory for add_custom_command/add_custom_target or execute_process? In that case, look at the documentation of these functions. Otherwise, no the working-directory should definitely NOT be the project directory. That's the whole point of out-of-source builds... Michael _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake