[CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?
Bill Hoffman
bill.hoffman at kitware.com
Fri Jun 27 08:49:32 EDT 2008
Martin Apel wrote:
> Hi Brad,
>
> this is kind of difficult under Windows, as far as I know. I have MSys
> installed on my machine, but the pwd "command" is not really a command
> (i.e. .exe) under MSys, but a shell script, which invokes
> the shell command "pwd". Windows sees the file with the "pwd" command in
> C:\MSys\bin as an ordinary file, not an executable. So I cannot call
> this from within ADD_CUSTOM_COMMAND. As I am no Windows expert, I
> haven't found any other way. Can you recommend a way, how to do this?
>
cd .
-Bill
More information about the CMake
mailing list