Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-18 Thread Eric Noulard
2011/7/18 Daniel Franke : >> >> Could you explain why you need CPack to be included here? >> >> If the requirement comes from the needed definition of >> "cpack_add_component" then you can try to do the following: > > Exactly for this reason. > > >> 1) include(CPackComponent) early enough >>    in

Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-18 Thread Daniel Franke
Hi Eric. On Monday 18 July 2011 09:36:37 Eric Noulard wrote: > http://public.kitware.com/Bug/view.php?id=11808 Thanks for the link. > > Maybe I should have provided an example. At 3am, things start to get > > fuzzy around the edges ... > > > > I defined a bunch of macros, e.g. > > > >myp

Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-18 Thread Andreas Mohr
Hi, On Sun, Jul 17, 2011 at 11:16:56PM +0200, Daniel Franke wrote: > > IMHO install stuff is ideally (i.e., usually) supposed to be done > > _exactly after_ all targets within the build space have become available. > > How so? Let there be tool01 to toolNN. Let each tool reside in its own > dir

Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-18 Thread Eric Noulard
2011/7/17 Daniel Franke : > > Hi Andreas. > > On Sunday 17 July 2011 21:36:26 Andreas Mohr wrote: >> to me it sounds like all the effects can simply be described as >> happening due to including CPack way too early. >> Verdict: Don't Do That (tm) > > Maybe. See below for more details. There exists

Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-17 Thread Daniel Franke
Hi Andreas. On Sunday 17 July 2011 21:36:26 Andreas Mohr wrote: > to me it sounds like all the effects can simply be described as > happening due to including CPack way too early. > Verdict: Don't Do That (tm) Maybe. See below for more details. > IMHO install stuff is ideally (i.e., usually) s

Re: [CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-17 Thread Andreas Mohr
Hi, On Sun, Jul 17, 2011 at 12:00:15PM -0400, cmake-requ...@cmake.org wrote: > I try to build a NSIS package for a largish project with many components and > a > plethora of local and imported binaries. One of the last steps would be to > add > Start menu entries for the binaries of the select

[CMake] CPack/NSIS: start menu entry without cpack_package_executables

2011-07-16 Thread Daniel Franke
Hi all. I try to build a NSIS package for a largish project with many components and a plethora of local and imported binaries. One of the last steps would be to add Start menu entries for the binaries of the selected components [*]. The problem I face: due to the size of the project, we abstr