[CMake] Yet another static libraries order question

2013-05-25 Thread Julien Bigot
Hi, I have yet another static library order question when using target_link_libraries In my case, I've developed a new FindHDF5.cmake that calls the hdf5 compiler wrapper and sets the usual variables HDF5__COMPILE_FLAGS, HDF5__INCLUDE_PATH, HDF5__LINK_FLAGS and HDF5__LIBRARIES In my applicati

[CMake] CMAKE__COMPILER_ID

2013-05-25 Thread Zaak Beekman
It seems hard to find documentation for this variable. Is it set by enable_language()? Can I call enable_language() BEFORE I call project()? Does anyone know a good way to provide default, compiler specific values for CMAKE__FLAGS in the cache? It seems that calling set() with the CACHE option won

[CMake] Finding memory leaks on OS X mountain lion (10.8)

2013-05-25 Thread Zaak Beekman
Does anyone have any experience adding tests to check for memory leaks on Macs? I come from more of a Linux background and am new to CMake and CTest. I am not using CDash yet, and writing software in C and Fortran. It seems that Valgrind is still very experimental for Mac, especially for Mountain

Re: [CMake] Problem with "configured" file under Cygwin/Windows 7

2013-05-25 Thread marco atzeri
Il 5/25/2013 1:06 PM, Arjen Markus ha scritto: Hello, I have installed a very recent version of Cygwin on Windows 7 (64 bits) and the version of CMake that comes with it (2.8.9-2). When I use this however to configure and build projects that work fine under Windows (various versions0, then I get

Re: [CMake] SEGV and signal BUS with cmake-2.8.11 on Solaris 10

2013-05-25 Thread Rolf Eike Beer
Bill Hoffman wrote: > On 5/22/2013 3:58 PM, Rolf Eike Beer wrote: > > This isn't entirely unexpected: > > > > http://open.cdash.org/viewBuildError.php?type=1&buildid=2912493 > > Anybody have suggestions for a fix? This code was taken from here: > http://www.aarongifford.com/computers/sha.html >

[CMake] Problem with "configured" file under Cygwin/Windows 7

2013-05-25 Thread Arjen Markus
Hello, I have installed a very recent version of Cygwin on Windows 7 (64 bits) and the version of CMake that comes with it (2.8.9-2). When I use this however to configure and build projects that work fine under Windows (various versions0, then I get either configuration problems or build prob