Hi all, I've got a project where meanwhile everything works, using cmake, but a tiny detail. I've got a frontend which consists of several php files. I copy them into a subfolder of share/ with the install command. Now I need a symlink from bin/croco to share/croco/main.php that is, after installing everything else "ln -s share/croco/main.php bin/croco" should be executed.
I know, that symlinks are not available in some other OSs, but for the time being, I only need a solution, that works using linux. What I found so far is: add_custom_command(OUTPUT bin/croco COMMAND ln -s share/croco/main.php bin/croco DEPENDS share/croco/main.php) But that seems to be ignored by "make install". Can you help me? Thanks, Berni -- -- Meine Rätselwebseite: www.croco-puzzle.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake