[CMake] WORKING_DIRECTORY ignored for ADD_CUSTOM_COMMAND on VisualStudio?

Martin Apel martin.apel at simpack.de
Fri Jun 27 11:22:23 EDT 2008


Bill Hoffman wrote:
> Martin Apel wrote:
>> This is it! It seems to work correctly, when using cd instead of "cd 
>> .". It seems I misinterpreted a command line parameter of a linker 
>> call as the directory output. Sorry for the confusion.
>> I'm not exactly in love with Windows ;-)
>>
>
> OK, but it is not using the working directory?
>
> -Bill
>
Yes, it is using the correct directory. It was the perl script, which 
was called from add_custom_command, which had problems with its 
directory, due to a missing "pwd" command on Windows.
To sum up, it was all my fault :-)

Best Regards,

Martin


____________
Virus checked by G DATA AntiVirus
Version: AVKA 18.309 from 27.06.2008




More information about the CMake mailing list