Hi,

I'm using cmake and cpack to build my project and build packages. I'm
creating a few executables in my project, let's call them EXE1 and
EXE2.

When creating different versions of these executables, I want to name
to reflect the version of the executable (let's say EXE1_1.0.0). I can
change the name of the output for a target by doing
set_target_properties.

However, now when doing an install, I want to do create a symlink to
this versioned name of the executable, i.e. I want to have

    the "versioned" executable installed in bin directory, i.e. EXE1_1.0.0
    create a symlink to the "versioned" executable, i.e. create
symlink EXE1, which points to EXE1_1.0.0

Can someone suggest me how to do this?

Second question is: How to install configuration files /etc/MYPROJECT/
directory? What DESTINATION I need to use for configuration files,
like I use bin for executables and lib for libraries? Is using an
absolute path like /etc an acceptable practice with cmake?

Thanks in advance.

-Lazylabs
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to