Re: [CMake] Generic way to combine static libs

2008-05-08 Thread Christoph Cullmann
On Thursday 08 May 2008 22:32:44 Alexander Neundorf wrote: > I think there is currently no generic solution to combine static libs into > another library. > Do you need the two static libs or could you just create one static lib > right away ? At the moment we need two, as the second internal lib i

Re: [CMake] ADD_DEFINITIONS with output from shell

2008-05-08 Thread David Sveningsson
Andreas Schneider skrev: David Cole wrote: See also: http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindSubversion.cmake?root=CMake&view=markup After a FIND_PACKAGE(Subversion) call, s

Re: [CMake] FindOpenGL.cmake proposed patch

2008-05-08 Thread Bill Hoffman
James Bigler wrote: Has something changed with respect to how the NVIDIA drivers were installed? I thought they overwrote the files in /usr/include/GL while moving the old ones out? I've never seen a case where gl.h and glu.h were in different places. If you have examples of this, that would b

Re: [CMake] FindOpenGL.cmake proposed patch

2008-05-08 Thread James Bigler
Has something changed with respect to how the NVIDIA drivers were installed? I thought they overwrote the files in /usr/include/GL while moving the old ones out? I've never seen a case where gl.h and glu.h were in different places. If you have examples of this, that would be great. James On Th

Re: [CMake] Retrieving a named argument from a list

2008-05-08 Thread George Neill
> Before that those MACROs needs to be pruned in order > to avoid duplicate function with current CMake 2.6 LIST builtin command. > Then one (you or me for example) should file something > like "feature request" for including the macros file to CMake distro. > > Then I think for each such mod

Re: [CMake] Generic way to combine static libs

2008-05-08 Thread Alexander Neundorf
On Thursday 08 May 2008, Christoph Cullmann wrote: > Hi, > > we have the case, that we compile two static libs and want to combine them > into one static lib which is installed. At the moment, we generate a list > of objects of one of the libs and tsort them and ar them in the other lib. > On Windo

Re: [CMake] Retrieving a named argument from a list

2008-05-08 Thread Alexander Neundorf
On Thursday 08 May 2008, Eric NOULARD wrote: ... > Then I think for each such module Kitware may require > a "maintainer" just like for FindXXX: > http://www.vtk.org/Wiki/CMake:Module_Maintainers > > Can anyone at Kitware and/or CMake official developer > tell us if it's worth requesting inclusion

Re: [CMake] FindOpenGL.cmake proposed patch

2008-05-08 Thread Alexander Neundorf
On Tuesday 29 April 2008, Fabrice Ménard wrote: > Hi, > > I propose the new variable OPENGL_GLU_INCLUDE_DIR as it might be different > from OPENGL_INCLUDE_DIR (in particular on GNU/Linux with NVidia drivers). > I needed it in order to build KDE4 which failed to locate GL/glu.h. I'll > send a CMake

Re: [CMake] Retrieving a named argument from a list

2008-05-08 Thread Eric NOULARD
Le Thu, 8 May 2008 10:08:37 -0500, "George Neill" <[EMAIL PROTECTED]> a écrit : > Eric, > > On Thu, May 8, 2008 at 4:37 AM, Eric NOULARD <[EMAIL PROTECTED]> > wrote: > > Just for sake of information when I need such feature > > in an home-brewed MACRO I do use the > > PARSE_ARGUMENTS macro def

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread Bill Hoffman
I'm sorry I was frustrated. CMake 2.4.8 CVS HEAD from yesterday Xcode 3.1(beta) running xcodebuild at the command line xcodebuild Paraview.xcodeproj Looks like this might be an Xcode 3.X issue, as Clinton has it working with Xcode 2.4. Is there anyone that has a failure with 2.4? Someon

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread clinton
On Thursday 08 May 2008 10:45:43 am Robert Maynard wrote: > What version of ParaView is this? CVS or 3.2? CVS ParaView (which is probably a bit bigger than 3.2) and I used CMake 2.6. Clint > > On the current CVS my Macbook with 2GB of ram will start compiling with > xcodebuild, but will fail 1

Re: [CMake] paraview CVS xcodebuild

2008-05-08 Thread Clinton Stimpson
I can build ParaView on a Macbook with 2 GB of Ram using Xcode 2.4 on Mac 10.4. The only setting I changed was to build shared libraries. Ram usage was about 750 MB through the whole process. Clint On May 7, 2008, at 4:52 PM, jonathan grimm wrote: paraview CVS xcodebuild is no longer working.

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread Mike Jackson
Could someone maybe put some cmake code into the main ParaView CMake list that tests for someone trying to create Xcode projects and direct them to create Makefile projects instead? At least during CVS development? This might save more users from spending needless time trying to get things

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread Bill Hoffman
Mike Jackson wrote: On May 8, 2008, at 11:08 AM, Bill Hoffman wrote: Mike Jackson wrote: On Thu, May 8, 2008 at 10:42 AM, Sean McBride <[EMAIL PROTECTED] > wrote: On 5/7/08 3:52 PM, jonathan grimm said: >paraview CVS xcodebuild is no longer working. On

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread Sean McBride
On 5/8/08 10:45 AM, David Cole said: >Nobody is able to open the xcodeproj with Xcode. Xcode crashes when opening >it... Ah sorry. I suspect this has been discussed on the paraview list... This thread seems to be cross posted to both cmake and paraview lists... as I only read the cmake list, I t

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread Mike Jackson
On May 8, 2008, at 11:08 AM, Bill Hoffman wrote: Mike Jackson wrote: On Thu, May 8, 2008 at 10:42 AM, Sean McBride <[EMAIL PROTECTED] research.com > wrote: On 5/7/08 3:52 PM, jonathan grimm said: >paraview CVS xcodebuild is no longer working. On a Mac P

Re: [CMake] LIST bugs for cmake version 2.6-patch 0 RC-8

2008-05-08 Thread Alan W. Irwin
On 2008-05-07 15:18-0700 Alan W. Irwin wrote: I used your FOREACH example in my post, but it is really this expansion inconsistency in all contexts which bothers me. Your answer so far is essentially "we have always done it that way". Perhaps there are excellent practical reasons for that langu

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread Bill Hoffman
Mike Jackson wrote: On Thu, May 8, 2008 at 10:42 AM, Sean McBride <[EMAIL PROTECTED] > wrote: On 5/7/08 3:52 PM, jonathan grimm said: >paraview CVS xcodebuild is no longer working. On a Mac Pro 16GB ram with >10.5. I checked and xcodebuild is a 32 b

Re: [CMake] Retrieving a named argument from a list

2008-05-08 Thread George Neill
Eric, On Thu, May 8, 2008 at 4:37 AM, Eric NOULARD <[EMAIL PROTECTED]> wrote: > Just for sake of information when I need such feature > in an home-brewed MACRO I do use the > PARSE_ARGUMENTS macro defined here: > http://www.cmake.org/Wiki/CMakeMacroParseArguments > > which relies on LIST_CONT

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread Mike Jackson
Well I thought I would try and see what was going on but trying with the CVS HEAD from this morning I get the following error when trying to run cmake on a clean build directory for ParaView 3 generating an Xcode project: -- Found Qt-Version 4.3.3 -- Found Qt-Version 4.3.3 CMake Error: Can'

[CMake] Generic way to combine static libs

2008-05-08 Thread Christoph Cullmann
Hi, we have the case, that we compile two static libs and want to combine them into one static lib which is installed. At the moment, we generate a list of objects of one of the libs and tsort them and ar them in the other lib. On Windows, we do the same, using the results of the tsort on Linux

Re: [CMake] [Paraview] paraview CVS xcodebuild

2008-05-08 Thread David Cole
Nobody is able to open the xcodeproj with Xcode. Xcode crashes when opening it... Haven't tried it myself, but that seems to be the consistent report from everybody I've talked to who has tried it... On Thu, May 8, 2008 at 10:42 AM, Sean McBride <[EMAIL PROTECTED]> wrote: > On 5/7/08 3:52 PM, j

Re: [CMake] paraview CVS xcodebuild

2008-05-08 Thread Sean McBride
On 5/7/08 3:52 PM, jonathan grimm said: >paraview CVS xcodebuild is no longer working. On a Mac Pro 16GB ram with >10.5. I checked and xcodebuild is a 32 bit executable. >Makefiles work on the same machine. >Is there anything that can be done about this? The .xcodeproj is only 14 >MB. Not work

Re: [CMake] Strange behaviour of FindCurses.cmake (and cmake 2.6.0?)

2008-05-08 Thread Philip Lowman
On Thu, May 8, 2008 at 1:58 AM, Christian Ehrlicher <[EMAIL PROTECTED]> wrote: > Hi, > > when curses is searched twice, the second search fails: This sounds a lot like the FindSDL bug that was fixed in one of the later 2.6.0 RCs. -- Philip Lowman ___

Re: [CMake] Retrieving a named argument from a list

2008-05-08 Thread Eric NOULARD
Le Wed, 7 May 2008 17:33:54 -0500, "George Neill" <[EMAIL PROTECTED]> a écrit : > Alexander, > > > > Below is what I have come up with to fetch named arg from a > > > list. Is there a preferred or built-in way to do this I may > > > have missed? > > > > There is no built-in way, but it would