Re: [CMake] Expat problem

2007-10-17 Thread Mike Jackson
expat_DIR is an environment variable that should point to the installation location of Expat. expatConfig.cmake is probably located in the "include" directory of your expat installation. These are just guesses. -- Mike Jackson Senior Research Engineer Innovative Management & Technology Ser

[CMake] Expat problem

2007-10-17 Thread eddy xu
Hi all, When I try to generate Makefile on a gentoo box, one error message comes out: CMake Error: expat_DIR is not set. It must be set to the directory containing expatConfig.cmake in order to use expat. And I can not get any meaningful help from google the keyword "expatConfig". Can any one gi

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Pau Garcia i Quiles
Quoting [EMAIL PROTECTED]: On Wednesday 17 October 2007 20:46, Miguel A. Figueroa-Villanueva wrote: On 10/17/07, Eric Noulard wrote: > 2007/10/17, Pau Garcia i Quiles: > > After reading those threads, I have been able to make > > scenario A (out-of-tree build) work with a bit of manual work. >

[CMake] ctest variables on the commandline

2007-10-17 Thread James Bigler
Is it possible to pass in values to ctest from the command line like cmake: ctest -DTEST_TYPE:STRING=Experimental test.cmake The help file for ctest doesn't seem to indicate this is possible. I want to use the same script that I use for nightly build tests as an experimental one without having

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Eric Noulard
2007/10/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > On Wednesday 17 October 2007 20:46, Miguel A. Figueroa-Villanueva wrote: > > On 10/17/07, Eric Noulard wrote: > > > 2007/10/17, Pau Garcia i Quiles: > > > I welcome your patch and will be pleased to give it a try. > > > > Obviously, the help in d

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Mike Jackson
I am just going to chime in again with my "it is good enough" setup. While all the kinks in the CDT generator get worked out you can "STILL" use the normal Makefiles generator (Mingw for Windows) and tell Eclipse that you have a "Makefile" based project. If you set you global preferences i

Re: [CMake] cmake install and rpath

2007-10-17 Thread James Bigler
Does anyone have any examples of creating relative rpaths for installation? James James Bigler wrote: I tried digging through through the mailing list and experimenting on my own, but I don't seem to be able to figure this out. I have a toy project that has a shared library and an executable.

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Eric Noulard
2007/10/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > On Wednesday 17 October 2007 20:46, Miguel A. Figueroa-Villanueva wrote: > > On 10/17/07, Eric Noulard wrote: > > > 2007/10/17, Pau Garcia i Quiles: > > > I welcome your patch and will be pleased to give it a try. > > > > Obviously, the help in d

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Eric Noulard
2007/10/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > On Wednesday 17 October 2007 20:46, Miguel A. Figueroa-Villanueva wrote: > > On 10/17/07, Eric Noulard wrote: > > > 2007/10/17, Pau Garcia i Quiles: > > > I welcome your patch and will be pleased to give it a try. > > > > Obviously, the help in d

Re: [CMake] cmake install and rpath

2007-10-17 Thread a . neundorf-work
On Wednesday 17 October 2007 15:57, James Bigler wrote: > I tried digging through through the mailing list and experimenting on > my own, but I don't seem to be able to figure this out. > > I have a toy project that has a shared library and an executable. > I've set it up, so that it can be install

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread a . neundorf-work
On Wednesday 17 October 2007 20:46, Miguel A. Figueroa-Villanueva wrote: > On 10/17/07, Eric Noulard wrote: > > 2007/10/17, Pau Garcia i Quiles: > > > After reading those threads, I have been able to make > > > scenario A (out-of-tree build) work with a bit of manual work. > > > > > > I am trying t

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Miguel A. Figueroa-Villanueva
On 10/17/07, Eric Noulard wrote: > 2007/10/17, Pau Garcia i Quiles: > > After reading those threads, I have been able to make > > scenario A (out-of-tree build) work with a bit of manual work. > > > > I am trying to modify the Eclipse generator to perform the changes > > automatically and will prov

Re: [CMake] ctest timer question

2007-10-17 Thread David Cole
Nope. This is the right list. (Or you may want to try the Dart mailing list if this does not answer your question...) If you look at the source in "CMake/Source/CTest/cmCTestTestHandler.cxx" you will find where the "Execution Time" NamedMeasurement xml element is emitted into the Test.xml file

Re: [CMake] ctest timer question

2007-10-17 Thread James Bigler
Is there a CTest mailing list or Dart mailing list I should ask this question on? Thanks, James James Bigler wrote: I'm not sure if this is the right place to ask this question, so please inform me if there is a better list to post this question to. I'm starting to use ctest to submit some t

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Eric Noulard
2007/10/17, Pau Garcia i Quiles <[EMAIL PROTECTED]>: > After reading those threads, I have been able to make > scenario A (out-of-tree build) work with a bit of manual work. > > I am trying to modify the Eclipse generator to perform the changes > automatically and will provide a patch. I welcome

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Pau Garcia i Quiles
Quoting Eric Noulard <[EMAIL PROTECTED]>: 2007/10/17, Pau Garcia i Quiles <[EMAIL PROTECTED]>: [...] Is it possible to use CVS or SVN from Eclipse in a CMake-generated project in scenarios A or B? This is an Eclipse Team platform issue. You may read more information about it here http://www

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Mike Jackson
I agree that there are some conflicting philosophies here. I am a bit more practical about this. I just need to get my work done. CMake's philosophy of "out-of-source" builds is great. I agree with it whole heartedly. The problem is that this does not always work in the world we live in. I

Re: [CMake] Re: [Dart] Submission question

2007-10-17 Thread Félix C. Morency
2007/10/17, Félix C. Morency <[EMAIL PROTECTED]>: > > Hi, > > I have those two lines in my CMakeLists.txt: > > ENABLE_TESTING() > INCLUDE(CTest) > > And those lines in my CTestConfig.cmake: > > SET (CTEST_PROJECT_NAME "TestProject") > SET (CTEST_NIGHTLY_START_TIME "21:00:00 EDT") > SET (CTEST_DROP_

[CMake] cmake install and rpath

2007-10-17 Thread James Bigler
I tried digging through through the mailing list and experimenting on my own, but I don't seem to be able to figure this out. I have a toy project that has a shared library and an executable. I've set it up, so that it can be installed to what ever the CMAKE_INTALL_PREFIX is which works fi

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Eric Noulard
2007/10/17, Mike Jackson <[EMAIL PROTECTED]>: > I do "B" all the time without CVS problems at all. Then again, I have > CMake just produce makefiles and manually setup a "Makefiles" based > project in Eclipse. Too many headaches any other way. I do that too when needed. The trouble is it clashes w

Re: [CMake] Re: [Dart] Submission question

2007-10-17 Thread Bill Hoffman
Félix C. Morency wrote: Hi Bill, Even if the project hasn't been build, the Experimental project only do a submission without rebuilding. I tried to set the dependencies by hand but it wasn't successfull. Any ideas ? What commands are you using to do the Experimental build? -Bill _

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Mike Jackson
I do "B" all the time without CVS problems at all. Then again, I have CMake just produce makefiles and manually setup a "Makefiles" based project in Eclipse. Too many headaches any other way. Cheers -- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On O

[CMake] Re: [Dart] Submission question

2007-10-17 Thread Félix C. Morency
Hi Bill, Even if the project hasn't been build, the Experimental project only do a submission without rebuilding. I tried to set the dependencies by hand but it wasn't successfull. Any ideas ? Regards, Félix C. Morency 2007/10/16, Bill Hoffman <[EMAIL PROTECTED]>: > > Félix C. Morency wrote: > >

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Eric Noulard
2007/10/17, Pau Garcia i Quiles <[EMAIL PROTECTED]>: [...] > > Is it possible to use CVS or SVN from Eclipse in a CMake-generated > project in scenarios A or B? This is an Eclipse Team platform issue. You may read more information about it here http://www.cmake.org/pipermail/cmake/2007-August/015

[CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread Pau Garcia i Quiles
Hello, I am having trouble when I try to use Subversion or CVS in Eclipse in a CMake-generated project. I am using the latest CMake CVS and I have tried the following three scenarios: A) Out-of-tree build: have a 'myapp' directory, create a 'myapp-build' directory at the same level and ru