On 10/01/15 14:01, Gonzalo Garramuño wrote:
I have created an NSIS section for my CMakeLists.txt and I am trying to pack and install my application (mrViewer).
I managed to make it all work by flattening the destination, so that instead of ${mrViewerPackageName}/bin, it remains as bin only.

Also I found that this works:

SET(CPACK_PACKAGE_EXECUTABLES "mrViewer" "mrViewer" )
SET( CPACK_CREATE_DESKTOP_LINKS "mrViewer" )

but this, which according to the docs should, does not:

SET(CPACK_PACKAGE_EXECUTABLES "mrViewer" "mrViewer-64" )
SET( CPACK_CREATE_DESKTOP_LINKS "mrViewer-64" )

--

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

Reply via email to