[CMake] Looking for Cmake / CPACK documentation

2016-01-17 Thread Bettina R.
Hello, I am not absolutely sure if this is the right place to ask, so excuse me if I am totally wrong here and show me the right way :) For my software I am looking to create a NSIS installer via CMake (3.2.2) on Windows. Creating an installer with things like components and required parts wasn't

Re: [CMake] Interpackage dependencies - find_package() from package

2016-01-17 Thread Thomas Ruschival
Thank you Domen for your detailed answer! > If your application, foo, bar and bas are not built as the same super > project [...] In fact this is where I started, for now all are build in the same super-project and foo and bar have tight coupling. In fact foo and bar end up in the same Cpack packa

Re: [CMake] Code::blocks: parallel build from IDE

2016-01-17 Thread Alexander Neundorf
On Sunday, January 17, 2016 13:45:34 Dimitri Kaparis wrote: > On Sat, Jan 9, 2016 at 9:16 PM, Alexander Neundorf > wrote: > > On Saturday, January 09, 2016 12:27:48 Dimitri Kaparis wrote: > > > Greetings, > > > > > > I'm using the "CodeBlocks - Unix Makefiles" generator under linux to > > > > cr

Re: [CMake] Code::blocks: parallel build from IDE

2016-01-17 Thread Nils Gladitz
On 17.01.2016 12:45, Dimitri Kaparis wrote: On Sat, Jan 9, 2016 at 9:16 PM, Alexander Neundorf mailto:a.neundorf-w...@gmx.net>> wrote: Oops, sorry, that's not implemented for C::B. Alex Any plans on it, or an idea for a workaround? As a workaround perhaps "CodeBlocks - Ninja" woul

Re: [CMake] Code::blocks: parallel build from IDE

2016-01-17 Thread Dimitri Kaparis
On Sat, Jan 9, 2016 at 9:16 PM, Alexander Neundorf wrote: > On Saturday, January 09, 2016 12:27:48 Dimitri Kaparis wrote: > > Greetings, > > > > I'm using the "CodeBlocks - Unix Makefiles" generator under linux to > create > > a build tree for my project consisting of multiple executables and > >

Re: [CMake] Interpackage dependencies - find_package() from package

2016-01-17 Thread Domen Vrankar
> If in someApp I find foo find_package(foo CONFIG REQUIRED) > I get an error: "The following imported targets are referenced, but are > missing: bar::bar" > > The current workaround is to manually add in someApp > find_package(bar CONFIG REQUIRED) before > find_package(foo CONFIG REQUIRED) > > > B

[CMake] Interpackage dependencies - find_package() from package

2016-01-17 Thread Thomas Ruschival
Hi, I have problems understanding how the cmake-buildsystem is supposed to resolve inter-package dependencies (imported targets form installed packages). Let say I have a project with an executable target (e.g. someApp) that depends on a library (libfoo). While libfoo is built in a separate projec