[CMake] Setting up working directory for target

William A. Hoffman billlist at nycap.rr.com
Mon Mar 6 19:58:39 EST 2006


At 10:15 PM 3/5/2006, Asmodehn Shade wrote:
>Hi everyone,
>
>I am wondering how I can set the "Working Directory" of some targets using CMake.
>
>Currently SET_TARGET_PROPERTIES doesnt seem to know about it (from the doc on the web) does it ?
>
>I just need it to be able to run my teststuff.exe from the right directory using VS for debug, and not from some "test\Debug\" subdirectory...
>Although I dont know how this should behave with GNUmake...
>Maybe I am not looking at the right cross-platform solution, am I ? 
>
>Thank a lot for your advices !

I am not sure what you mean by the working directory for a target.
Is this for running a custom command?

-Bill



More information about the CMake mailing list