Re: [CMake] Build on one machine, test on multiple

2010-05-28 Thread Karthik Krishnan
On Fri, May 28, 2010 at 12:04 PM, Martin Apel wrote: > Hi Alok, > > the problem is not to start the testing process remotely. In my case it's > no problem simply setting up the Windows task planner to execute some script > every night. The problem is more, how do I tell ctest to perform its tests

Re: [CMake] Build on one machine, test on multiple

2010-05-28 Thread Martin Apel
Hi Karthik, I was aware, that I can start ctest this way. However from my understanding this requires at least the whole build tree to be at the same location as on the build machine. I had hoped to get away with copying a subset of the generated files somehow, possibly to a different directory.

[CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Denis Barbier
Hello cmake maintainers, vtk 5.4.2-7 FTBFS on ia64 https://buildd.debian.org/fetch.cgi?pkg=vtk;ver=5.4.2-7;arch=ia64;stamp=1275000467 In this version, local FindJNI.cmake had been dropped and replaced by a dependency on cmake >= 2.8.1-3 Configuration did not find Java libraries: -- Java ve

Re: [CMake] Generator for NetBeans 6.9

2010-05-28 Thread Sebastian Meier
Hi Alex, > Hmm, if you plan to implement a makefile-based generator, why are all > those settings needed in the project file ? I am not planning to implement a makefile-based generator. I just chose cmExtraEclipseCDT4Generator as a starting point because it seemed practical. Do you think in thi

[CMake] Remove lib prefix when generating shared lib under Windows

2010-05-28 Thread Thiébault Benoît
Hi everyone, I am using CMake to compile VTK using MinGW. The compilation goes with problem, but it generates libvtkXXX.dll and libvtkXXX.dll.a files. How can I remove this lib prefix to the generated libraries ? Thank you for your answers Kind regards, Benoît _

Re: [CMake] Remove lib prefix when generating shared lib under Windows

2010-05-28 Thread Michael Wild
On 28. May, 2010, at 11:05 , Thiébault Benoît wrote: > Hi everyone, > > I am using CMake to compile VTK using MinGW. The compilation goes with > problem, but it generates libvtkXXX.dll and libvtkXXX.dll.a files. > How can I remove this lib prefix to the generated libraries ? > > Thank you for

Re: [CMake] Remove lib prefix when generating shared lib under Windows

2010-05-28 Thread Thiébault Benoît
Thank you for the advice, but these variables do not appear in my CMake configuration. Should I add them manually in the CmakeCache.txt file ? Sorry if this is a newbie question, I'm not very familiar yet with cmake Benoît Le 28 mai 2010 à 11:20, Michael Wild a écrit : > > On 28. May, 2010, at

Re: [CMake] newbie question - what targets are supported?

2010-05-28 Thread Doug Reiland
Thanks. I did mean rules. The module-list is what I was after. I did piece together a macro for my gperf files using add_custom_command() last night and is working fine. But I want to make sure I am not reinventing the wheel here cause I am betting folks coming from make/linux world have hit the

Re: [CMake] Remove lib prefix when generating shared lib under Windows

2010-05-28 Thread Michael Wild
The variables are not cached. Not sure whether you can override them in the cache. You certainly can do so in the CMakeLists.txt files Michael On 28. May, 2010, at 11:28 , Thiébault Benoît wrote: > Thank you for the advice, but these variables do not appear in my CMake > configuration. Should

Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Brad King
Denis Barbier wrote: > Hello cmake maintainers, > > vtk 5.4.2-7 FTBFS on ia64 > > https://buildd.debian.org/fetch.cgi?pkg=vtk;ver=5.4.2-7;arch=ia64;stamp=1275000467 > > In this version, local FindJNI.cmake had been dropped and replaced by > a dependency on cmake >= 2.8.1-3 > > Configuration

Re: [CMake] Generator for NetBeans 6.9

2010-05-28 Thread Bill Hoffman
On 5/28/2010 3:48 AM, Sebastian Meier wrote: Hi Alex, Hmm, if you plan to implement a makefile-based generator, why are all those settings needed in the project file ? I am not planning to implement a makefile-based generator. I just chose cmExtraEclipseCDT4Generator as a starting point becau

Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Denis Barbier
On 2010/5/28 Brad King wrote: > Denis Barbier wrote: >> Hello cmake maintainers, >> >> vtk 5.4.2-7 FTBFS on ia64 >>     >> https://buildd.debian.org/fetch.cgi?pkg=vtk;ver=5.4.2-7;arch=ia64;stamp=1275000467 >> >> In this version, local FindJNI.cmake had been dropped and replaced by >> a dependency o

Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Mathieu Malaterre
On Fri, May 28, 2010 at 3:55 PM, Denis Barbier wrote: > On 2010/5/28 Brad King wrote: >> Denis Barbier wrote: >>> Hello cmake maintainers, >>> >>> vtk 5.4.2-7 FTBFS on ia64 >>>     >>> https://buildd.debian.org/fetch.cgi?pkg=vtk;ver=5.4.2-7;arch=ia64;stamp=1275000467 >>> >>> In this version, local

[CMake] chicken and egg q: Can CMakeLists.txt generate CTestConfig.cmake during configuration?

2010-05-28 Thread kent williams
Subject line says it all. Does CTestConfig.cmake need to exist at configuration time, or just at Ctest/make test time? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] chicken and egg q: Can CMakeLists.txt generate CTestConfig.cmake during configuration?

2010-05-28 Thread David Cole
CTestConfig.cmake should be downloaded from CDash and committed into your source tree manually before configuring and before your first dashboard submission. Why do you think you want to generate it? If the nightly start time changes, the CDash server also needs to know about this. If you are ju

Re: [CMake] linker scripts and dependencies

2010-05-28 Thread Michael Hertling
On 05/28/2010 12:23 AM, Chris Bayley wrote: > I am getting to grip with cmake on an embedded system (ARM Cortex M3), > but I can't figure out if there is a better way to specify the linker > script file than with: > > set(CMAKE_EXE_LINKER_FLAGS "-T ${LINKER_SCRIPT}") > > if that then is way to

[CMake] CMake compiler check failure

2010-05-28 Thread Zhenyao Mo
I got the following errors when CMake tests my compilers. The problem is that it seems CMake is checking /usr/bin/gcc, instead of the /usr/bin/armv7a-cros-linux-gnueabi-gcc it should have checked. I manually tried /usr/bin/armv7a-cros-linux-gnueabi-gcc, and it compiles fine, and manually tried /u