Re: [CMake] CPack and PackageMaker

2015-12-21 Thread Roman Wüger
Is there anything I can do to support? Best regards > Am 11.12.2015 um 20:17 schrieb robert.bielik : > > Dear Clint, > > Thank you! Will certainly start with that as a base :) > > Regards > /R > > -- Ursprungligt meddelande-- > Från: > Datum: fre, 11 dec 2015 20:12 > Till: Robert

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-21 Thread Bruce Stephens
On Mon, Dec 21, 2015 at 10:11 PM, DJ wrote: > One of the things that seems to me to be missing is some kind of quick > description of the overall "theory of cmake". I am a top-down kind of > person, so I really dislike being left with nothing but "here, type this > in" which is what a lot of the

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-21 Thread Pau Garcia i Quiles
On Mon, Dec 21, 2015 at 11:11 PM, DJ wrote: > > One of the things that seems to me to be missing is some kind of quick > description of the overall "theory of cmake". I am a top-down kind of > person, so I really dislike being left with nothing but "here, type this > in" which is what a lot of t

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-21 Thread DJ
Thanks for the feedback everyone. I think I may be stuck having to learn cmake because several software libraries that I am starting to use build with cmake. Based on the feedback, for no I'll pass on the book and see what I can do by reading online. One of the things that seems to me to be

Re: [CMake] Tests with assert and Release build type

2015-12-21 Thread Magnus Therning
Ruslan Baratov writes: > On 20-Dec-15 01:31, Magnus Therning wrote: >> Ruslan Baratov writes: >> >>> How about using RelWithDebInfo? See: >>> http://stackoverflow.com/a/28124715/2288008 >> Hmm, I'm probably missing something but how does that solve the issue >> with some targets requiring NDEBUG

Re: [CMake] Tests with assert and Release build type

2015-12-21 Thread Ruslan Baratov via CMake
On 20-Dec-15 01:31, Magnus Therning wrote: Ruslan Baratov writes: How about using RelWithDebInfo? See: http://stackoverflow.com/a/28124715/2288008 Hmm, I'm probably missing something but how does that solve the issue with some targets requiring NDEBUG to be *undefined* and other targets requir

[CMake] still having rpath problems on osx

2015-12-21 Thread Boudewijn Rempt
I'm still having rpath problems when creating libraries on OSX... And I'm not sure what's going on here. Here's the output for a single library: otool -L ../i/lib/libkritaimage.dylib ../i/lib/libkritaimage.dylib: /Users/boud/dev/i/lib/libkritaimage.15.dylib (compatibility version 15.0.0,

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-21 Thread Tamás Kenéz
Jake, I've read the older edition. Yes, I also think it could be written better and most of the information is available online. Still, it provided me with authorative information, concentrated into a single book, (as opposed to be scattered over the internet). It really helped me to lay down the f

Re: [CMake] CMake with VS 2015 using Android?

2015-12-21 Thread Greg Marr
Is it possible for CMake 3.4 to generate VS2015 projects targeting their new Android functionality? Is this just a matter of configuring the toolset (-T)? Or is there more to it? No, but Microsoft has added this functionality to their own fork, and is working to contribute it back to CM

Re: [CMake] Generate sources (smartly :-))

2015-12-21 Thread Guillaume Maudoux (Layus)
Hi, I am generating files with some executable called "generator" built with cmake. Apparently I am unable to avoid the generator being built even when the generated files are up to date. IIRC, EXCLUDE_FROM_ALL should do just that: avoid a target being build if not strictly needed. I have reprod

[CMake] CMake with VS 2015 using Android?

2015-12-21 Thread Robert Dailey
Is it possible for CMake 3.4 to generate VS2015 projects targeting their new Android functionality? Is this just a matter of configuring the toolset (-T)? Or is there more to it? -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CM

Re: [CMake] How to pass a configuration file to CMake?

2015-12-21 Thread Cedric Doucet
Hi Peter! Thank you very much! It seems to be exactly what I want. :) I will try to use it. Cédric - Mail original - > De: "Petr Kmoch" > À: "Cedric Doucet" > Cc: cmake@cmake.org > Envoyé: Lundi 21 Décembre 2015 13:25:53 > Objet: Re: [CMake] How to pass a configuration file to CM

Re: [CMake] How to pass a configuration file to CMake?

2015-12-21 Thread Petr Kmoch
Hi Cedric. I have never used it myself, but I believe you're looking for CMake's command-line option '-C ': https://cmake.org/cmake/help/latest/manual/cmake.1.html Petr On Mon, Dec 21, 2015 at 1:12 PM, Cedric Doucet wrote: > > Hello, > > I would like to know if it's possible to pass a configur

[CMake] How to pass a configuration file to CMake?

2015-12-21 Thread Cedric Doucet
Hello, I would like to know if it's possible to pass a configuration file to CMake. I have to pass a lot of information to CMake and the resulting command line is very long to type. Would it be possible to create a file containing all needed definitions and pass it to CMake? For exemple, i

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-21 Thread Raymond Wan
Hi Jake, On Sat, Dec 19, 2015 at 5:02 AM, DJ wrote: > This all led me to consider purchasing the book Mastering CMake. However, > reviews on Amazon are generally very critical of the book. It is indeed > expensive. Should I bother to shell out for it, or do others here share this > negative eval