Re: [CMake] CPack Optional Component

2010-08-10 Thread Eric Noulard
2010/8/10 Vincent LEFORT : > Hi, > I come back to know if anyone have an idea of howto do this tricks ? I think you should have a look at this thread: http://www.cmake.org/pipermail/cmake/2010-August/038831.html which explains how to do generator specific things at CPack time. >> Hello, i use CPa

Re: [CMake] CPack Optional Component

2010-08-09 Thread Vincent LEFORT
Hi, I come back to know if anyone have an idea of howto do this tricks ? Thanks. Vincent On Fri, Jul 23, 2010 at 09:44, Vincent LEFORT wrote: > Hello, i use CPack to pack my project. > > I use components (cpack_add_component) in it, and i do some links in start > menu using "set(CPACK_NSIS_MEN

[CMake] CPack Optional Component

2010-07-23 Thread Vincent LEFORT
Hello, i use CPack to pack my project. I use components (cpack_add_component) in it, and i do some links in start menu using "set(CPACK_NSIS_MENU_LINKS ...)". But, i want to make the link for example "Documentation" only if the component "Documentation" is checked. How i can do this trick ? Reg