Re: [CMake] Howto unset cache variable without UNSET()

2010-06-30 Thread Chris Hillery
On Wed, Jun 30, 2010 at 9:13 AM, Marcel Loose wrote: > I think I could live with using an empty string and then use > 'if(VAR MATCHES "^$")', instead of 'if(DEFINED VAR)'. > You probably know this, but in the vast majority of cases you could just use 'if(VAR)'. That will be true as long as VAR i

Re: [CMake] Howto unset cache variable without UNSET()

2010-06-30 Thread Marcel Loose
On Wed, 2010-06-30 at 17:51 +0200, Alexander Neundorf wrote: > On Wednesday 30 June 2010, Marcel Loose wrote: > > Hi all, > > > > Is there a way to unset a cache variable, i.e. make it undefined, > > *without* using unset(). > > > > My reason for asking is that my CMake scripts need to be backward

Re: [CMake] Howto unset cache variable without UNSET()

2010-06-30 Thread Alexander Neundorf
On Wednesday 30 June 2010, Marcel Loose wrote: > Hi all, > > Is there a way to unset a cache variable, i.e. make it undefined, > *without* using unset(). > > My reason for asking is that my CMake scripts need to be backward > compatible with every 2.6 version. Unfortunately, unset() was added in a

Re: [CMake] CTest results to XML file

2010-06-30 Thread Chris Hillery
Try this: ctest -T Test This will generate the same Test.xml logfile as running ctest -D, but it won't do all the other dashboard steps (update, configure, build...). Ceej aka Chris Hillery On Wed, Jun 30, 2010 at 3:46 AM, David Cole wrote: > On Wed, Jun 30, 2010 at 6:22 AM, David Cole wrote:

[CMake] [PATCH] bootstrap: Detect known C/C++ compiler toolchains

2010-06-30 Thread Brad King
Look for a C/C++ compiler pair from known toolchains on some platforms. This makes it less likely that mismatched compilers will be found. Check only if the environment variables CC and CXX are both empty. --- Todd Gamblin wrote: > 1. Bootstrap script doesn't seem to work quite right on the fronte

Re: [CMake] How to build an HelloWorld browser helper object using cmake?

2010-06-30 Thread David Cole
Why do you want to build it via CMake? Are you going to make a cross-platform BHO (browser helper object)? What does your BHO do? CMake has no special support for ATL, but it is quite possible to build a project with sources that depend on ATL. Basically, you just have to add the right -D definit

[CMake] How to build an HelloWorld browser helper object using cmake?

2010-06-30 Thread Mr Shore
Hi all, Here is a tutorial that demonstrates how to create a helloworld BHO with ATL in visual studio. But I don't know how to build it with cmake , or say, how does cmake deal with ATL ? ___ Powere

[CMake] CTest support for Coverity Prevent?

2010-06-30 Thread Convey, Christian J CIV NUWC NWPT
I've got a license for Coverity Prevent (a pretty decent static analysis tool). Although Prevent has a web interface, I was thinking that it would also be nice to run Prevent on a nightly basis and have the results appear on the same dashboard populated by my nightly ctest runs. Has anyone wor

Re: [CMake] rpath problems with kdevplatform

2010-06-30 Thread Andreas Pakulat
On 30.06.10 12:07:11, Modestas Vainius wrote: > Hello, > > On trečiadienis 30 Birželis 2010 11:33:07 Andreas Pakulat wrote: > > > > > As I said above it won't affect the install tree. See the > > > > > INSTALL_RPATH target property. > > > > > > > > That property is not set (and the global variab

Re: [CMake] CTest results to XML file

2010-06-30 Thread David Cole
On Wed, Jun 30, 2010 at 6:22 AM, David Cole wrote: > On Wed, Jun 30, 2010 at 5:18 AM, norulez wrote: > >> Hello, >> >> is there a way to write the CTest result to a XML file? >> > > I'm thinking the answer to this one just has to be "yes"... > > On Wed, Jun 30, 2010 at 6:28 AM, norulez wrote:

Re: [CMake] CTest results to XML file

2010-06-30 Thread David Cole
On Wed, Jun 30, 2010 at 5:18 AM, norulez wrote: > Hello, > > is there a way to write the CTest result to a XML file? > I'm thinking the answer to this one just has to be "yes"... ___ Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] CTest results to XML file

2010-06-30 Thread norulez
Hello, is there a way to write the CTest result to a XML file? ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: htt

[CMake] Howto unset cache variable without UNSET()

2010-06-30 Thread Marcel Loose
Hi all, Is there a way to unset a cache variable, i.e. make it undefined, *without* using unset(). My reason for asking is that my CMake scripts need to be backward compatible with every 2.6 version. Unfortunately, unset() was added in a patch release (2.6.3 if I recall correctly), so I cannot us

Re: [CMake] rpath problems with kdevplatform

2010-06-30 Thread Andreas Pakulat
On 29.06.10 23:21:10, Alexander Neundorf wrote: > On Monday 28 June 2010, Andreas Pakulat wrote: > > On 28.06.10 08:44:35, Brad King wrote: > > > Andreas Pakulat wrote: > > > > On 26.06.10 13:26:29, Andreas Pakulat wrote: > > > >> Ping? Any further ideas on this? Could someone at least point me to

Re: [CMake] Open bugs in 2.8.2-rc3

2010-06-30 Thread Rolf Eike Beer
Bill Hoffman wrote: > On 6/23/2010 2:14 PM, Rolf Eike Beer wrote: > > Hi, > > > > I checked 2.8.2-rc2 last week and had a quick look on the changes > > mentioned for rc3. So here is a collection of "my" open bugs: > > > > -0010476 No program output if CTest aborts test with timeout > > This is r