Hi,

Hi I am using CMake for building and packing on Windows. I have a root
cmake file and the subfolders contains executable and other modules. I am
writing the packing code in the root cmake file and executable contained in
a subfolder.

My executable name is myexec, and I want to create start menu item and
desktop icon for this exe.

For this I have used

set(CPACK_PACKAGE_EXECUTABLES myexec;"My Exec" ${CPACK_PACKAGE_EXECUTABLES})

set(CPACK_CREATE_DESKTOP_LINKS "My Exec" ${CPACK_CREATE_DESKTOP_LINKS})

But it is not creating start menu item or the desktop shortcut. What could
be the reason?
I am using NSIS. I have a custom NSIS template. Is this the reason for it
not to work?

Thanks,
  Lloyd
-- 

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