[CMake] adding a 'make altinstall' to cmake?

Rolf Eike Beer eike at sf-mail.de
Wed May 4 05:51:46 EDT 2011


> hi michael,
>
> thanks for the tip, this makes a lot of sense. unfortunately, the
> following does not work:
>
>   add_custom_command(TARGET libopenrave POST_BUILD COMMAND
> ${CMAKE_COMMAND} -E create_symlink $<TARGET_FILE_NAME:libopenrave0.3>
> $<TARGET_FILE_NAME:libopenrave> )
>
> doing a grep on build.make, i see the following:
>
> /usr/bin/cmake -E create_symlink $<TARGET_FILE_NAME:libopenrave0.3>
> $<TARGET_FILE_NAME:libopenrave>
>
> according to the documentation, the $<TARGET> stuff should have been
> replaced right?
>
> using cmake 2.8.0
                  ^

There is the bug. This needs to be 4.

Eike


More information about the CMake mailing list