[CMake] Xcode and working directory

Michael Wild themiwi at gmail.com
Thu Jan 28 02:31:18 EST 2010


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


More information about the CMake mailing list