[CMake] how to define current working directory of command line tool
Alexander Neundorf
a.neundorf-work at gmx.net
Sun Oct 10 14:58:36 EDT 2010
On Saturday 09 October 2010, Jochen Wilhelmy wrote:
> Hi!
>
> Is it possible to define the current working directory of a command line
> tool
> that is built with cmake? since the build is usually out-of-source I have
> to set the current working directory in the ide, e.g visual studio or
> xcode. more convenient would be to set it in cmake.
Do you mean in add_custom_command()/add_custom_target() ?
Both have an optional WORKING_DIRECTORY argument.
Alex
More information about the CMake
mailing list