[CMake] NSIS startup menu and icons

Gonzalo Garramuno ggarra13 at gmail.com
Mon Jan 12 15:53:49 EST 2015


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" )



More information about the CMake mailing list