[CMake] Last minute build-date file.

2010-10-15 Thread fatman
On Fri, 15 Oct 2010 12:00:02 -0400 cmake-requ...@cmake.org wrote: Hello: If my app requires relinking, then at link time I would like to capture the current date and time and place it in a last-minute source file which is linked with the application. Following is my attempt at this with

Re: [CMake] How would I use parallel make on ExternalProjects?

2010-10-08 Thread fatman
There is one problem with that, which is what I'm trying to address: load balancing. If your project builds ITK, VTK, and sundry other prerequisite libraries, it will spawn 4 sequential builds. In practice this means everything except ITK (which we build with wrapping on) finishes, and

[CMake] Disallowing in-source builds

2010-10-07 Thread fatman
is there an easy way to clean out a source tree if an in-source build was accidentally kicked off? (short of dividing the files by their timestamp and removing the newer ones, etc..) My immediate thought was, does make clean not work for you? But I guess you're talking about CMake debris

[CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread fatman
Hi list, Found some odd behaviour while setting up CMake on Windows XP. I've tried to correct the word-wrapping cmd.exe does, not always successfully; I hope you can read this: C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmakerm -r * C:\Users\buildbot\Reu2\bin\bga120\build\Reu2\cmakecmake ..

Re: [CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread fatman
On Wed, 6 Oct 2010 11:09:36 -0400 David Cole david.c...@kitware.com wrote: Looks to me like somebody quoted a ${CMAKE_CXX_FLAGS} reference where they should not have quoted it... I can believe it, sounds like my work. ;) What does the CMakeLists.txt file look like? Hmm. I'll link you

Re: [CMake] CMake/MinGW/Windows XP 32-bit: command line arguments delimited by semicolon?

2010-10-06 Thread fatman
On Wed, 6 Oct 2010 11:58:05 -0400 David Cole david.c...@kitware.com wrote: Put double quotes on these lines (and lines like them) so that CMAKE_CXX_FLAGS is a single space separated string. Ahhh, I see. That solves it. Thanks. Looks like I need to do lots of work on the CMakeLists.txt files

Re: [CMake] rpmbuild breaks if HOME is wrong

2010-10-05 Thread fatman
using my normal user account, fatman. The SSH daemon is set for public-key authentication only, so fatman is the only account I can use. 2. Switch to a bash shell controlled by my non-login-enabled account, buildbot, using the command sudo -u buildbot bash. Note, HOME still points to /home/fatman

Re: [CMake] rpmbuild breaks if HOME is wrong

2010-10-05 Thread fatman
On 5/10/2010, Eric Noulard eric.noul...@gmail.com wrote: Ok now I see the precise scheme. I'll try to reproduce that. Unfortunately I will be off network for a while so could you be kind enough to open a bug tracker entry http://public.kitware.com/Bug/my_view_page.php and add a reference to

Re: [CMake] CMake/Buildbot xplat upload?

2010-10-04 Thread fatman
CMake is integrating well with Buildbot to make a sort of poor-man's build farm. The one thing I can't seem to work out is a crossplatform way to upload CPack-built packages (Windows and Linux) to a web server (Ubuntu). that's true you have file(DOWNLOAD ...) (which internally uses libcurl)

[CMake] rpmbuild breaks if HOME is wrong

2010-10-04 Thread fatman
Hi list, I notice rpmbuild tries to use the HOME directory as a base for its files. This won't work if HOME is set wrongly (eg. by sudo -u other bash), as in my case. Is it possible to stop it doing this and make it use the CPack build hierarchy? Thanks, Adam J Richardson

Re: [CMake] CMake/Buildbot xplat upload?

2010-10-04 Thread fatman
On 1/10/2010, Eric Noulard eric.noul...@gmail.com wrote: may be worth a feature request. Feature request added. Please see http://www.cmake.org/Bug/view.php?id=11286 . ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] rpmbuild breaks if HOME is wrong

2010-10-04 Thread fatman
a .rpmrc somewhere. (Can't think why I would but I'll check anyway.) fat...@nikko:/var/lib/buildbot$ sudo find / | grep .rpmrc$ [sudo] password for fatman: /usr/lib/rpm/rpmrc fat...@nikko:/var/lib/buildbot$ No .rpmrc, but there is some sort of defaults file. I searched this file for the strings ~, home

Re: [CMake] CMake Digest, Vol 77, Issue 104

2010-10-01 Thread fatman
Date: Wed, 29 Sep 2010 03:14:57 +0200 From: Michael Hertling mhertl...@online.de Subject: Re: [CMake] How to set compiler flags? To: cmake@cmake.org Message-ID: 4ca29311.1050...@online.de Content-Type: text/plain; charset=ISO-8859-1 [...] So I now use add_definitions instead:

[CMake] CMake/Buildbot xplat upload?

2010-10-01 Thread fatman
Hi list, I Googled for this but didn't find anything. CMake is integrating well with Buildbot to make a sort of poor-man's build farm. The one thing I can't seem to work out is a crossplatform way to upload CPack-built packages (Windows and Linux) to a web server (Ubuntu). The target web server

[CMake] CMAKE_CXX_FLAGS [was: Re: CMake Digest, Vol 77, Issue 104]

2010-10-01 Thread fatman
On Fri, 1 Oct 2010 10:23:30 +0100 David Aldrich david.aldr...@eu.nec.com wrote: if(CMAKE_BUILD_TYPE EQUAL Debug) set(CMAKE_CXX_FLAGS -Wno-long-long -Wno-comment -Wwrite-strings -std=c++0x -pedantic-errors -pedantic -Wall -W -g -gdwarf-2 -Weffc++ -Wmain -Wextra) else(CMAKE_BUILD_TYPE

[CMake] Error finding boost libraries

2010-10-01 Thread fatman
From: David Aldrich david.aldr...@eu.nec.com Subject: To: cmake@cmake.org cmake@cmake.org The following command is not working for me: find_package( Boost 1.40.0 COMPONENTS python REQUIRED ) I get error: CMake Error at CMakeLists.txt:36 (find_package): Could not find module

Re: [CMake] CMAKE_CXX_FLAGS [was: Re: CMake Digest, Vol 77, Issue 104]

2010-10-01 Thread fatman
Could be. I too am a non-expert. CMake doesn't seem to output the command lines it executes, or if it does then Buildbot ignores it. This is the view from Buildbot's IO log: snip blah Can I make CMake more verbose? The IO log above contains the command line executed by Buildbot (cd cmake

Re: [CMake] CMAKE_CXX_FLAGS

2010-10-01 Thread fatman
I'll insert that into the builder configuration, sighup the buildmaster and force a build. Or at least I will when the server lets me in. It's started doing this odd thing every day where it works until I try and SSH into it, then it goes offline for an hour and when it comes back I can SSH

Re: [CMake] CMAKE_CXX_FLAGS

2010-10-01 Thread fatman
It let me in more quickly than usual today. Let's look at the IO log. cd cmake make VERBOSE=1 all cd .. in dir /home/arichardson/buildbot/Reu2/bin/vostro/build (timeout 1200 secs) watching logfiles {} argv: cd cmake make VERBOSE=1 all cd .. snip boring bits [ 2%] Building CXX object