> install( PROGRAM .... ) will keep executable permissions... (as opposed to > using FILES or DIRECTORY ) not sure about symlinks....
Hm forgot about this one... Had problems with it years ago on AIX and stopped using it back then (it removed baked in paths to libraries from executables)... Time to try it out again :) > http://www.cmake.org/cmake/help/v3.0/command/install.html only references > symbolic links once, and that's for Install( TARGET ... ) " Either > NAMELINK_ONLY or NAMELINK_SKIP may be specified as a LIBRARY option. On some > platforms a versioned shared library has a symbolic link such as:" You can create a symlink with a custom command or by using execute_process with cmake -E create_symlink command and then moving it into package with for eg install(DIRECTORY ...). Regards, Domen -- 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