Hi all,
 
I currenlty have something like this to create and install a symlink as
part of my application:
 
    ADD_CUSTOM_COMMAND(TARGET target
        POST_BUILD
        COMMAND ln -s -f foo bar
        DEPENDS foo
        VERBATIM)
    INSTALL_FILES("/" FILES
        bar )
 
I'm also using CPack to package up this stuff into a .tgz file.  After I
run "make install", bar is really a symlink to foo.  After I run "make
package", the .tgz file has bar as a copy of foo.
 
I took a look at the cpack source code, and it looks like libtar has the
proper handling to handle the symlink, but for whatever reason it isn't.
anybody have any suggestions?  Thanks,
 
Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to