2012/1/13 Patrick Ryan <pr...@objectivity.ca>: > Hi, > > I'm using CMake 2.8.6 to generate an NSIS installer. We have two > separate projects; an application and a set of plugins to be used by > the application. The plugins are composed of four separate components > that can be selected during the installation (Filters, NonBSDPlugins, > Readers, Writers). When built on its own, the plugins installer > includes the 'Select Components' page as expected. When building the > application, which also includes the plugins project, no components > page appears.
How does the application "includes" the plugins project? > My CPackConfig.cmake file has the following: > > SET(CPACK_COMPONENTS_ALL > "BrandedRuntime;Development;Filters;NonBSDPlugins;Readers;Writers;Runtime;RuntimeLibraries;Unspecified") > > SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE") > > SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE") > > Am I missing anything blatantly obvious? I'm quite stuck and haven't > been able to find anyone who's had a similar problem. CPack does not work that well for "multiple project in one package" installer. see discussion here http://public.kitware.com/Bug/view.php?id=11808 > I can provide more details if necessary...apologies if I haven't > included enough. Was your CPackConfig.cmake written by hand or generated with include(CPack) ? Did you include(CPack) twice? Like one time in the application project and one time in the plugins project? If yes tries to include it only once. see related bugs with multiple CPack inclusion: http://public.kitware.com/Bug/view.php?id=10751 -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- 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