Re: [CMake] CMake 2.8.3 available for download

2010-11-03 Thread Micha Renner
Unpacking cmake-2.8.3.tar.gz, cmake-2.8.3-Linux-i386.tar.gz results in the following error message of the archive manager: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now cmake-2.8.3-Linux-i386.tar.Z is ok. Greetings Micha ___

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Bill Hoffman
On 11/3/2010 6:00 PM, Eric Noulard wrote: 2010/11/3 David Cole: It should be fine. CMake should handle .h files that have this property set. We should fix it. (And we will -- probably in the 2.8.4 release.) OK no problem. Sorry for being late to test that combination but I'm not usually usin

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-03 Thread Andreas Pakulat
On 03.11.10 17:57:10, Knox, Kent wrote: > Hello all~ > > I'm going to follow up on my email from last week with more information. I > don't believe that find_package( Boost ) is behaving properly in my case, and > I need help with either a proper solution or a workaround. > > I'm using Cmake 2

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-03 Thread Knox, Kent
Hello all~ I'm going to follow up on my email from last week with more information. I don't believe that find_package( Boost ) is behaving properly in my case, and I need help with either a proper solution or a workaround. I'm using Cmake 2.8.2, on a 64bit Ubuntu linux host, trying to compile

[CMake] CMake 2.8.3 available for download

2010-11-03 Thread David Cole
On behalf of myself, Ken, Bill, Brad, Alex, Zach, Ben and the rest of the CMake team, we are pleased to announce that CMake 2.8.3 is available for download at: http://www.cmake.org/files/v2.8/?C=M;O=D Within the next day or two, it will also be available from the usual download links found on th

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Eric Noulard
2010/11/3 David Cole : >> >> It should be fine. CMake should handle .h files that have this property >> set. We should fix it. (And we will -- probably in the 2.8.4 release.) OK no problem. Sorry for being late to test that combination but I'm not usually using Windows box and even more rarely VS

Re: [CMake] building static binaries

2010-11-03 Thread Szilárd Páll
Hi, First of all, I'd be grateful for a reply to the 2nd of my question. Can anyone confirm that LINK_SEARCH_END_STATIC on Linux + gcc is buggy? @Michael: Thanks for the link, I've actually seen that thread, but I was quite disappointed by the conclusions so I asked with the hope that the opinio

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread David Cole
On Wed, Nov 3, 2010 at 5:29 PM, David Cole wrote: > On Wed, Nov 3, 2010 at 5:09 PM, Eric Noulard wrote: > >> 2010/11/3 Bill Hoffman : >> > >> > The reason this is showing up is because they are compiling a .h file: >> > >> > LIST(APPEND LIBHLA_EXPORTED_INCLUDES sha1.h) >> > set_source_files_prope

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread David Cole
On Wed, Nov 3, 2010 at 5:09 PM, Eric Noulard wrote: > 2010/11/3 Bill Hoffman : > > > > The reason this is showing up is because they are compiling a .h file: > > > > LIST(APPEND LIBHLA_EXPORTED_INCLUDES sha1.h) > > set_source_files_properties(sha1.c sha1.h PROPERTIES LANGUAGE "C") > > SOURCE_GROU

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Eric Noulard
2010/11/3 Bill Hoffman : > > The reason this is showing up is because they are compiling a .h file: > > LIST(APPEND LIBHLA_EXPORTED_INCLUDES sha1.h) > set_source_files_properties(sha1.c sha1.h PROPERTIES LANGUAGE "C") > SOURCE_GROUP("Source Files\\Hash" FILES ${LIBHLA_HASH_SRCS}) > > > The sha1.h i

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Bill Hoffman
On 11/3/2010 3:09 PM, Rolf Eike Beer wrote: Am Mittwoch, 3. November 2010 schrieb Eric Noulard: I "may" have a problem with Visual Studio 2010 generator. The concerned project CERTI (https://savannah.nongnu.org/projects/certi) builds fine on on several using CMake. But when we try to build CER

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Rolf Eike Beer
Am Mittwoch, 3. November 2010 schrieb Eric Noulard: > I "may" have a problem with Visual Studio 2010 generator. > The concerned project CERTI (https://savannah.nongnu.org/projects/certi) > builds fine on on several using CMake. > > But when we try to build CERTI with CMake 2.8.2 (or 2.8.3rc4) we

Re: [CMake] Are header-only targets supported?

2010-11-03 Thread Pedro d'Aquino
Hi everyone, On Mon, Nov 1, 2010 at 11:24 AM, David Cole wrote: > You could use a block like this: > > if(CMAKE_GENERATOR STREQUAL "Xcode") >  ... > endif() > Yes, that does work. The only problem is it doesn't scale very well; at the moment I use MSVC and Xcode so I need to add two clauses. If

Re: [CMake] building static binaries

2010-11-03 Thread Michael Hertling
On 11/02/2010 10:54 PM, Szilárd Páll wrote: > Hi, > > I've been trying to implement a feature which would enable building > static binaries with cmake, but I've got completely stuck, I hope > someone can hint me what's the best way to do this. > > What I've done is a 2 stage solution for making s

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Eric Noulard
2010/10/30 David Cole : > The CMake 2.8.3 release candidate stream continues! > You can find the source and binaries here: > http://www.cmake.org/files/v2.8/?C=M;O=D > > EXCEPT: There are not yet Irix or Sun pre-built binary > installers available for CMake 2.8.3-rc4. There is a > failing (HTML doc

Re: [CMake] CMake hangs on new install

2010-11-03 Thread Bill Hoffman
On 11/2/2010 10:05 AM, Phil Smith wrote: Is anyone else successfully using a toolchain file for an in-source build with 2.8.2 or later? We can't be the only ones?! I've reduced this to a relatively minimal case, but it doesn't fail on the first TryCompile, so I can't just stuff in a dummy "com

[CMake] Using gcov/lcov and valgrind with cmake

2010-11-03 Thread Gerhard Gappmeier
Hi all, I'm trying to figure out how to use gcov and maybe also lcov with cmake. I know it works using ctest, I've seen that in several wiki entries, but I could not find one single example on how to use it. The wiki only shows the commandline args for GCC, but no cmake examples. I attached a sim