Re: [CMake] CMake generators (Xcode and Unix Makefile)

2009-04-16 Thread Tobias Rudolph
On 15 Apr 2009, at 22:35, Alexander Neundorf wrote: On Wednesday 15 April 2009, Michael Jackson wrote: On Apr 15, 2009, at 9:57 AM, christophe laferriere wrote: ... - some of my headers are generated by cmake (myproj.h.in became myproj.h and is include in some tests for example) but I can't

[CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Arjen Markus
Hello, in the PLplot project I have run into a few problems with the MSYS environment under Windows XP. The first one is that the CMake variable MSYS does not get set properly - or else I am doing something wrong. Here is what I do to work under MSYS: - Start the rxvt console (via a shortcut cre

Re: [CMake] findBoost says it finds static unit testing libraries, but does not set them

2009-04-16 Thread Jonatan Bijl
Boost_Unit_test_framework_library is not in the list. About the filenames: these libs are the result of compiling boost 1.38.0 with cmake under linux. (Cmake for boost is still experimental). It might be that the problem is in boost's Cmakelists. Jonatan

Re: [CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Maik Beckmann
Arjen Markus schrieb am Donnerstag 16 April 2009 um 09:32: > Hello, > > in the PLplot project I have run into a few problems with the MSYS > environment under Windows XP. The first one is that the CMake variable > MSYS does not get set properly - or else I am doing something wrong. > > Here is what

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
2009/4/15 Clemens Arth : > [...] > > Using the generator facility really sounds like a good idea. The remaining > question is just if you also can get the information out of the vcpackages > xml file which toolchain file to use (setting the PlatformName string > basically). Looking at my xml file t

[CMake] GET_TARGET_PROPERTY(... LOCATION)

2009-04-16 Thread Mathieu Malaterre
Hi there, What am I doing wrong in my use of GET_TARGET_PROPERTY(... LOCATION) in the following: ... VTK_WRAP_JAVA3(${VTKGDCM_NAME}Java vtkgdcmJAVA_SRCS "${vtkgdcm_SRCS}") ADD_LIBRARY(${VTKGDCM_NAME}Java SHARED ${vtkgdcmJAVA_SRCS}) TARGET_LINK_LIBRARIES(${VTKGDCM_NAME}Java ${VTKGDCM

Re: [CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Arjen Markus
On 2009-04-16 10:43, Maik Beckmann wrote: Arjen Markus schrieb am Donnerstag 16 April 2009 um 09:32: Hello, in the PLplot project I have run into a few problems with the MSYS environment under Windows XP. The first one is that the CMake variable MSYS does not get set properly - or else I am doi

Re: [CMake] CMake generators (Xcode and Unix Makefile)

2009-04-16 Thread Tobias Rudolph
On 16 Apr 2009, at 11:54, Andreas Pakulat wrote: On 16.04.09 09:26:45, Tobias Rudolph wrote: On 15 Apr 2009, at 22:35, Alexander Neundorf wrote: On Wednesday 15 April 2009, Michael Jackson wrote: On Apr 15, 2009, at 9:57 AM, christophe laferriere wrote: ... - some of my headers are generat

Re: [CMake] Problem with recognising the MSYS environment

2009-04-16 Thread Maik Beckmann
Arjen Markus schrieb am Donnerstag 16 April 2009 um 12:07: > On 2009-04-16 10:43, Maik Beckmann wrote: > > MSYS has its own generator, so this should be > > cmake -G "MSYS Makefiles" > > Hm, could that be the problem? I noticed that CMake is indeed reacting > differently if -G is set differently:

Re: [CMake] CMake Digest, Vol 60, Issue 54

2009-04-16 Thread Claus Höfele
-- Forwarded message -- From: Alexander Neundorf To: cmake@cmake.org Date: Wed, 15 Apr 2009 22:43:59 +0200 Subject: Re: [CMake] CMake and iPhone support On Friday 10 April 2009, Robert Dailey wrote: > Can CMake generate an Xcode project for iPhone SDK development (For both > the si

Re: [CMake] CMake generators (Xcode and Unix Makefile)

2009-04-16 Thread Andreas Pakulat
On 16.04.09 09:26:45, Tobias Rudolph wrote: > On 15 Apr 2009, at 22:35, Alexander Neundorf wrote: >> On Wednesday 15 April 2009, Michael Jackson wrote: >>> On Apr 15, 2009, at 9:57 AM, christophe laferriere wrote: >> ... - some of my headers are generated by cmake (myproj.h.in became mypr

[CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Michael Jackson
On Apr 16, 2009, at 6:33 AM, Tobias Rudolph wrote: On 16 Apr 2009, at 11:54, Andreas Pakulat wrote: On 16.04.09 09:26:45, Tobias Rudolph wrote: On 15 Apr 2009, at 22:35, Alexander Neundorf wrote: On Wednesday 15 April 2009, Michael Jackson wrote: On Apr 15, 2009, at 9:57 AM, christophe la

Re: [CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Andreas Pakulat
On 16.04.09 07:31:54, Michael Jackson wrote: > Basically what this boils down to is there may need to be a new generator > for QtCreator. This would require cooperation between the QtCreator team > and the developers creating that generator so that everything that is > needed is put into the genera

Re: [CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Sergey Rudchenko
В Чтв, 16/04/2009 в 13:58 +0200, Andreas Pakulat пишет: > On 16.04.09 07:31:54, Michael Jackson wrote: > > Basically what this boils down to is there may need to be a new generator > > for QtCreator. This would require cooperation between the QtCreator team > > and the developers creating that gene

[CMake] Automatic depedencies added by target_link_libraries "breaks" make -k ?

2009-04-16 Thread Alexandre.Feblot
Hi, Let 's say I have 2 libraries libA and libB, and libA depends on libB, i.e. I set: target_link_libraries(libA libB). My goal is to build as much as possible of the libA and libB sources to detect all possible errors and send an error report to developers. For this, I compile the proje

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
Hi, 2009/4/16 Alexey Sariy : > Hello all. > > Please see another implementation of WinCE projects generator here > http://www.vtk.org/Bug/view.php?id=8486 . I just had a short look at the code. Is it true that you always pick the fist platform from the list of platforms found in the WCE.VCPlatfor

[CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-16 Thread Piotr Dobrogost
Hi I'm trying to use cmake 2.6-patch 3 on Vista x64 with VS2008 to build curl. After setting VC variables with vcvarsall.bat from VC's folder and after this command cmake -G "NMake Makefiles" ..\curl I'm getting this error CMake Error: CMake was unable to find a build program corresponding to "N

Re: [CMake] WinCE Support

2009-04-16 Thread Clemens Arth
Alexey Sariy schrieb: Andreas Pokorny wrote: Hi, 2009/4/16 Alexey Sariy : Hello all. Please see another implementation of WinCE projects generator here http://www.vtk.org/Bug/view.php?id=8486 . Hi Alexey, thanks for pointing us to your solution to the problem that - at least me - mi

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
Hello, 2009/4/16 Alexey Sariy : > [...] > First available platform is selected by default. You can configure another > in CMakeLists.txt or through GUI. For this we have implemented VALID_VALUES > property for variables. (As I understand it was merged as STRINGS property > in cmake repo). Variable

Re: [CMake] WinCE Support

2009-04-16 Thread Andreas Pokorny
Hi, 2009/4/15 Clemens Arth : > Using the generator facility really sounds like a good idea. The remaining > question is just if you also can get the information out of the vcpackages > xml file which toolchain file to use (setting the PlatformName string > basically). Looking at my xml file there

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread David Cole
We have CMake dashboards set up to run on Sun and AIX. You can find them here: http://cdash.org/CDash/index.php?project=CMake (just search for Sun and AIX on that page...) What are the other platforms you're thinking of? Are they aleady represented on the CMake dashboard or is there some porting

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Bartlett, Roscoe A
David, That list of platforms looks pretty good. It has been a while since I looked into this but I have not heard any problems recently. Thanks, - Ross From: David Cole [mailto:david.c...@kitware.com] Sent: Thursday, April 16, 2009 10:22 AM To: Bartlett, Rosc

[CMake] Linking problems

2009-04-16 Thread John Dey
Hi List, I am getting undefined symbols while linking up a program that I can create by hand (details shown below). I think I have set cmake to duplicate but it can't find symbols. Any help would be greatly appreciated. Thanks. John Hand compile and link: g++ -O3 -Wall -g -D__GXX__

Re: [CMake] CMake GUI Issue

2009-04-16 Thread Clinton Stimpson
Robert, Now that this email finally made it to the cmake list, I saw the snapshot. It didn't look right, so I just found & fixed a bug which might be the one giving you grief here. Clint Robert Dailey wrote: For me it's well over 800 pixels wide. I can't make it go any smaller than that. O

[CMake] Compiling dll under MSVC 2008

2009-04-16 Thread Benoit
Hello, I've a problem when using libraries under MS Visual C++ 2008 Express Edition but it works fine with GCC and MinGW. I have first create a core (cv7core) library that compile correctly (I obtain cv7core.dll), however I doesn't create the static lib. Then I create another library that use the

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread indigojo
Quoting "Bartlett, Roscoe A" : Hello, An associate of mine tried to build CMake 2.6.2 on a Sun machine and got lots of errors (see the attached). Does CMake work in the Sun? What platforms is CMake supposed to support? We also have a nasty IBM AIX machine that we have to support.

Re: [CMake] Compiling dll under MSVC 2008

2009-04-16 Thread Mike Jackson
You will want to read this link which should explain everything you need to know. Mike Jackson PS: Feedback on that article is also welcome. On Thu, Apr 16, 2009 at 1:39 PM, Benoit wrote: > Hello, > > I've a problem when using libraries under MS Visua

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Bill Hoffman
indig...@blogistan.co.uk wrote: Quoting "Bartlett, Roscoe A" : Hello, An associate of mine tried to build CMake 2.6.2 on a Sun machine and got lots of errors (see the attached). Does CMake work in the Sun? What platforms is CMake supposed to support? We also have a nasty IBM AIX machin

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread George Neill
Bill, On Thu, Apr 16, 2009 at 1:03 PM, Bill Hoffman wrote: > indig...@blogistan.co.uk wrote: >> >> Quoting "Bartlett, Roscoe A" : >> >>> Hello, >>> >>> An associate of mine tried to build CMake 2.6.2 on a Sun machine and  got >>> lots of errors (see the attached). >>> >>> Does CMake work in the S

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Bill Hoffman
George Neill wrote: I seem to remember running in to this issue when trying to build cmake on SS10/Solari10. If I recall correctly, it turned out being an environment issue. A conflict with GNU ld/SUN ld? (but I may have lost some memory cells since then!) The boostrap cmake should not u

Re: [CMake] Compiling dll under MSVC 2008

2009-04-16 Thread Hendrik Sattler
Am Donnerstag 16 April 2009 19:48:03 schrieb Mike Jackson: > You will want to read this link > [...] > PS: Feedback on that article is also welcome. In OpenObex, we use additionally a .def file with exports. "obex.sym" is a list of symbol names (one per

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread George Neill
On Thu, Apr 16, 2009 at 1:31 PM, Bill Hoffman wrote: > George Neill wrote: > >> >> I seem to remember running in to this issue when trying to build cmake >> on SS10/Solari10.  If I recall correctly, it turned out being an >> environment issue.  A conflict with GNU ld/SUN ld?   (but I may have >> l

Re: [CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Alexander Neundorf
On Thursday 16 April 2009, Michael Jackson wrote: ... > Actually, the latest release candidate of QtCreator has "basic" > makefile support so hopefully that would mature more in the near > future. I also had the opportunity to chat with one of the QtCreator > developers about the CMake support in Q

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Bill Hoffman
George Neill wrote: On Thu, Apr 16, 2009 at 1:31 PM, Bill Hoffman wrote: George Neill wrote: I seem to remember running in to this issue when trying to build cmake on SS10/Solari10. If I recall correctly, it turned out being an environment issue. A conflict with GNU ld/SUN ld? (but I may

Re: [CMake] Automatic depedencies added by target_link_libraries "breaks" make -k ?

2009-04-16 Thread Alexander Neundorf
On Thursday 16 April 2009, alexandre.feb...@thomsonreuters.com wrote: ... > ==> Is there any way to keep the default transitive dependency system so > that link lines are computed automatically, but remove that > make-dependency to enable gmake -k to try building all existing source > files? Did y

Re: [CMake] Linking problems

2009-04-16 Thread Alexander Neundorf
On Thursday 16 April 2009, John Dey wrote: > Hi List, > > I am getting undefined symbols while linking up a program that I can > create by hand (details shown below). I think I have set cmake to > duplicate but it can't find symbols. Any help would be greatly > appreciated. Thanks. > > John > >

Re: [CMake] QtCreator Comments - was [CMake generators (Xcode and Unix Makefile)]

2009-04-16 Thread Mike Jackson
On Thu, Apr 16, 2009 at 3:38 PM, Alexander Neundorf wrote: > On Thursday 16 April 2009, Michael Jackson wrote: > ... >> Actually, the latest release candidate of QtCreator has "basic" >> makefile support so hopefully that would mature more in the near >> future. I also had the opportunity to chat

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread George Neill
On Thu, Apr 16, 2009 at 2:47 PM, Bill Hoffman wrote: > George Neill wrote: >> >> On Thu, Apr 16, 2009 at 1:31 PM, Bill Hoffman >> wrote: >>> >>> George Neill wrote: >>> I seem to remember running in to this issue when trying to build cmake on SS10/Solari10.  If I recall correctly, it tu

Re: [CMake] Linking problems

2009-04-16 Thread David Cole
Looks to me like COREAUDIO and friends are set incorrectly. COREAUDIO should be "-framework;Coreaudio" in order to use it as a framework with target_link_libraries... (not the full path to the framework library itself...) On Thu, Apr 16, 2009 at 10:22 AM, John Dey wrote: > Hi List, > > I am get

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Bill Hoffman
George Neill wrote: On Thu, Apr 16, 2009 at 2:47 PM, Bill Hoffman wrote: George Neill wrote: On Thu, Apr 16, 2009 at 1:31 PM, Bill Hoffman wrote: George Neill wrote: I seem to remember running in to this issue when trying to build cmake on SS10/Solari10. If I recall correctly, it turned o

Re: [CMake] CMAKE_MAKE_PROGRAM is not set.

2009-04-16 Thread Daniel Nelson
On Thursday 16 April 2009 8:29:11 am Piotr Dobrogost wrote: > Hi > > I'm trying to use cmake 2.6-patch 3 on Vista x64 with VS2008 to build curl. > > After setting VC variables with vcvarsall.bat from VC's folder and after > this command > cmake -G "NMake Makefiles" ..\curl > > I'm getting this erro

Re: [CMake] CMakeScript

2009-04-16 Thread Peter Kümmel
> The argument passing between the two engine is missing but could > be added by the prototype mechanism of JavaScript. Using this mechanism it is now possible to see all CMake variables in the debugger: http://sourceforge.net/project/screenshots.php?group_id=259125&ssid=10336 And I've also fixe

Re: [CMake] CMakeScript

2009-04-16 Thread Peter Kümmel
Sorry, the last link was with a session id, but this should work: http://sourceforge.net/project/screenshots.php?group_id=259125 Peter ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensour

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread George Neill
On Thu, Apr 16, 2009 at 3:36 PM, Bill Hoffman wrote: > George Neill wrote: >> >> On Thu, Apr 16, 2009 at 2:47 PM, Bill Hoffman >> wrote: >>> >>> George Neill wrote: On Thu, Apr 16, 2009 at 1:31 PM, Bill Hoffman wrote: > > George Neill wrote: > >> I seem to remember

[CMake] Using ctest --build-config data in add_test command params

2009-04-16 Thread Paul Oppenheim (Poppy Linden)
Is there any way to get the --build-config value passed into ctest to be used as a variable in an add_test() command? I would like to chain that down to another ctest call which is doing --build-and-test on a sub-target. Naturally, that sub-build is building the wrong configuration, and on mac

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
I actually have another question about the Xcode generator. I didn't want to create another thread for this. A co worker and myself noticed that the generated Xcode projects for MAC seem to be nothing more than utility projects that call into makefile scripts. Is this true? Why is CMake not generat

[CMake] Project name differs from exec name in VS

2009-04-16 Thread Michael Gerenrot
Hello! We use CMake to generate C++ projects for Visual Studio, and this works fine. But now I need the compiled executable to be named different from the project. I.e. project myFoo should generate not myFoo.exe, but yourFoo.exe. In VS I would set the name in Project\Properties\Configuration

Re: [CMake] Linking problems

2009-04-16 Thread John Dey
Alex, Thanks for your input. I changed the compile option from number "0" to alphabet "O". Reran cmake and then ran "make VERBOSE=1" as you suggest (see output below). I noticed that the compiler is c++ in cmake while the compiler used in the successful link used g++. I changed the co

Re: [CMake] Xcode generator?

2009-04-16 Thread Bill Hoffman
Robert Dailey wrote: I actually have another question about the Xcode generator. I didn't want to create another thread for this. A co worker and myself noticed that the generated Xcode projects for MAC seem to be nothing more than utility projects that call into makefile scripts. Is this tru

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
On Thu, Apr 16, 2009 at 6:43 PM, Bill Hoffman wrote: > Robert Dailey wrote: > >> I actually have another question about the Xcode generator. I didn't want >> to create another thread for this. >> >> A co worker and myself noticed that the generated Xcode projects for MAC >> seem to be nothing more

Re: [CMake] Project name differs from exec name in VS

2009-04-16 Thread Bill Hoffman
Michael Gerenrot wrote: Hello! We use CMake to generate C++ projects for Visual Studio, and this works fine. But now I need the compiled executable to be named different from the project. I.e. project myFoo should generate not myFoo.exe, but yourFoo.exe. In VS I would set the name in Proj

Re: [CMake] Xcode generator?

2009-04-16 Thread Bill Hoffman
Robert Dailey wrote: What do you mean "specified order"? Why does the order of static libraries matter? And also what do you mean by "repeats"? Linkers on unix (including apple) require that the order of static libraries be specified in order of symbol usage. Sometimes this requires a libra

[CMake] Compiling static and shared library only once (wiki seems to have an error)

2009-04-16 Thread Shaun Cummins
I'm trying to compile both static and shared libraries and would like to do it only once. I tried following the instructions at the vtk.org/Wiki but it seems to have an error: IF(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_COMPILER_IS_GNUCC) ADD_LIBRARY(zzSTATIC STATIC -fPIC) ADD_LIBRARY(z

Re: [CMake] Xcode generator?

2009-04-16 Thread Robert Dailey
On Thu, Apr 16, 2009 at 7:25 PM, Bill Hoffman wrote: > Robert Dailey wrote: > >> What do you mean "specified order"? Why does the order of static libraries >> matter? And also what do you mean by "repeats"? >> > Linkers on unix (including apple) require that the order of static > libraries be spec

Re: [CMake] Xcode generator?

2009-04-16 Thread Bill Hoffman
Robert Dailey wrote: Thanks for explaining Bill. What you've just explained is very confusing to me. What I'm trying to do is investigate CMake a bit more so we can get it working for the iPhone. However, what you've just brought up I still have a few more questions about but to ask them would

Re: [CMake] Compiling static and shared library only once (wiki seems to have an error)

2009-04-16 Thread Michael Jackson
make VERBOSE=1 _ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio On Apr 16, 2009, at 8:19 PM, Shaun Cummins wrot

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Bill Hoffman
George Neill wrote: I will try later tonight. When I reproduced this error earlier today ... I was doing an in-source bootstrap. I ran the bootstrap twice, the first was using gnu toolset and the second with SS10 tools. Rechecking out the source and doing an out-of-source bootstrap I seeming

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread Andrew Maclean
I don't this this is just restricted to sun. I have noticed similar things in debian linux builds. If you bootstrap more than once, you must delete the build files. Andrew On Fri, Apr 17, 2009 at 1:46 PM, Bill Hoffman wrote: > George Neill wrote: > >> >> I will try later tonight. >> >> When I r

Re: [CMake] FW: Cmake on Sun?

2009-04-16 Thread George Neill
Bill, On Thu, Apr 16, 2009 at 10:46 PM, Bill Hoffman wrote: > George Neill wrote: > >> >> I will try later tonight. >> >> When I reproduced this error earlier today ... I was doing an >> in-source bootstrap.  I ran the bootstrap twice, the first was using >> gnu toolset and the second with SS10 t