Re: [CMake] Getting empty package with CPack

2015-03-11 Thread Tim Gallagher
Nils, Thanks! That definitely got my files into the package, I would have never figured that one out! I have another, related question though. Maybe what I'm doing cannot be done, but I would like to have a different file layout when building a package than when using make install. I thought i

Re: [CMake] Getting empty package with CPack

2015-03-11 Thread Nils Gladitz
On 11.03.2015 21:17, Tim Gallagher wrote: Hi all, I'm trying to play with CPack to build an installer for our code and I'm pretty confused. I am using the self-extracting TGZ generator on CMake 2.8.8. My CMakeLists.txt is really long, but I included what I think are the important parts under

Re: [CMake] Avoid re-linking dependency of external shared lib in a new project.

2015-03-11 Thread felix
Not sure if I'm right, but your use case looks to me as an interface-library. For that the docu says "A primary use-case for INTERFACE libraries is header-only libraries." see http://www.cmake.org/cmake/help/v3.2/manual/cmake-buildsystem.7.html#interface-libraries -- View this message in contex

[CMake] Problems with WriteCompilerDetectionHeader and cxx_nullptr

2015-03-11 Thread Roman Wüger
Hello, i tried to use the generated compiler detection header but get an error if I use the cxx_nullptr feature on a compiler which doesn’t support C++11. void doSomething(int n, bool *ok = 0) { if (ok) *ok = true; if (n != 0) { if (ok) *ok = fals

[CMake] Getting empty package with CPack

2015-03-11 Thread Tim Gallagher
Hi all, I'm trying to play with CPack to build an installer for our code and I'm pretty confused. I am using the self-extracting TGZ generator on CMake 2.8.8. My CMakeLists.txt is really long, but I included what I think are the important parts under my signature. I configure the build and th

Re: [CMake] Mastering CMake updated to CMake 3.1

2015-03-11 Thread Robert Maynard
It is on my todo list. On Sat, Mar 7, 2015 at 2:52 PM, Ryan Pavlik wrote: > Will the excerpted CMake tutorial [1] be updated? I find that to be a useful > reference to point newcomers to. If nothing else, it looks like the source > code didn't handle the move to the updated website well as all an

[CMake] CMake, Android, and Eclipse ADT Integration

2015-03-11 Thread Robert Dailey
I am implementing support for Android in my CMake scripts by using custom commands to invoke 'ant' to build the final APK. If I do it this way, and I generate for eclipse, how can I make sure it will integrate with the ADT plugin? Basically I want to be able to right-click my project in Eclipse (g

Re: [CMake] missing bin folder

2015-03-11 Thread Maffei, Chiara
Dear Petr, thanks for your reply Yes I do have cmakefiles. What I have looks good... Chiara Maffei PhD Student MR Methods Lab CIMeC Center for Mind/Brain Sciences University of Trento From: Petr Kmoch [petr.km...@gmail.com] Sent: Wednesday, March 11, 2015 8

[CMake] [ANNOUNCE] CMake 3.2.1 Released!

2015-03-11 Thread Robert Maynard
I am proud to announce that CMake 3.2.1 is now available for download at: http://www.cmake.org/download/ Documentation is available at: http://www.cmake.org/cmake/help/v3.2 Release notes appear below and are also published at http://www.cmake.org/cmake/help/v3.2/release/3.2.html Some of th

Re: [CMake] missing bin folder

2015-03-11 Thread Petr Kmoch
Hi Chiara, just a sanity check: have you actually run a build? Or is it that even the buildsystem (Makefiles, VS projects, what have you) is not there? Petr On Wed, Mar 11, 2015 at 8:35 AM, Domen Vrankar wrote: > > however I am facing a quite dramatic issue: after configuration and > generatio

Re: [CMake] Inconsistency with INSTALL(TARGETS) destinations...

2015-03-11 Thread Petr Kmoch
Do you even *have* any LIBRARY targets on Windows? Quoting the docs ( http://www.cmake.org/cmake/help/v3.2/command/install.html#installing-targets ): "Static libraries are always treated as ARCHIVE targets. Module libraries are always treated as LIBRARY targets. For non-DLL platforms shared librar

Re: [CMake] missing bin folder

2015-03-11 Thread Domen Vrankar
> however I am facing a quite dramatic issue: after configuration and > generation I do have my build folder, but I miss the bin folder inside it, > and all build folders result empty. One thing comes to mind... If you accidentally generate build structure inside root source directory and later

Re: [CMake] Inconsistency with INSTALL(TARGETS) destinations...

2015-03-11 Thread Rolf Eike Beer
Am Dienstag, 10. März 2015, 17:48:48 schrieb J Decker: > > And it's mostly wrong, e.g. lib64 is not correct for many systems. If you > > want Unix like subdirectories, use the GnuIntallDirs module. > > Better? > > if( WIN32 ) >install( TARGETS MatrixSSL RUNTIME DESTINATION bin LIBRARY DESTINA