[CMake] cmake and shell commands

Tyler Roscoe tyler at cryptio.net
Mon Jan 17 16:52:13 EST 2011


On Mon, Jan 17, 2011 at 06:24:58PM +0000, mark205 at email.it  wrote:
>        ln -s lib/libfreenect.so.0.0 lib/libfreenect.so

For this specific problem, check out:
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:SOVERSION

> Should I use: add_custom_command ?

For the general problem of running arbitrary commands that CMake doesn't
already know how to do, add_custom_command() is the right track.


More information about the CMake mailing list