[CMake] add_custom_command issue

Surya Kiran Gullapalli suryakiran.gullapalli at gmail.com
Mon Mar 1 05:01:40 EST 2010


>
> The only reason I can think of is that you're not using absolute paths
> somewhere. Make sure that the variables allFiles, TransOutFile and trxfile
> contain absolute paths (i.e. start with CMAKE_BINARY_DIR, CMAKE_SOURCE_DIR,
> CMAKE_CURRENT_BINARY_DIR or similar.
>
> HTH
>
>
Thanks, that is it.. the TransOutFile was having relative path. I changed it
to Absolute path and everything works fine.

Thanks,
Surya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100301/19ad7b8d/attachment.htm>


More information about the CMake mailing list