Hi all,

what's the the correct way to do the following:
1) Compile and install a binary foo to /usr/bin/foo
2) Create a link /usr/bin/bar -> /usr/bin/foo
3) On "make uninstall" remove /usr/bin/foo and /usr/bin/bar

For 1+2, I used
SET_TARGET_PROPERTIES(foo PROPERTIES POST_INSTALL_SCRIPT make_links.cmake)

For 3) I used the snippet posted on the cmake.org homepage. Unfortunately the
install_manifest.txt only records files installed by INSTALL_(). So
the links are not removed.
How can I solve this problem properly?
I'm thankful for every advice.

Cheers,
Michael
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to