Re: [CMake] building tests

2010-07-14 Thread Michael Wild
[snip] >> >> Ok first thing: I had two cmakes on my system, one was 2.8.1, and an older >> 2.6.3 that snuck in through an incorrect script of mine. >> >> Second thing: the TARGET_FILE thing works. But the usual add_test(name >> command) does not. > > This is because you set the CMAKE_RUNTIME_

Re: [CMake] building tests

2010-07-14 Thread Michael Hertling
On 07/14/2010 06:40 AM, Paul Harris wrote: > On 11 July 2010 20:36, Michael Hertling wrote: > >> On 07/10/2010 06:54 PM, Paul Harris wrote: >>> On 9 July 2010 22:39, Michael Wild wrote: >>> On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: > On 07/08/2010 09:47 AM, Paul Harr

Re: [CMake] building tests

2010-07-13 Thread Michael Wild
On 14. Jul, 2010, at 6:40 , Paul Harris wrote: > On 11 July 2010 20:36, Michael Hertling wrote: > >> On 07/10/2010 06:54 PM, Paul Harris wrote: >>> On 9 July 2010 22:39, Michael Wild wrote: >>> On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: > On 07/08/2010 09:47 AM,

Re: [CMake] building tests

2010-07-13 Thread Paul Harris
On 11 July 2010 20:36, Michael Hertling wrote: > On 07/10/2010 06:54 PM, Paul Harris wrote: > > On 9 July 2010 22:39, Michael Wild wrote: > > > >> > >> On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: > >> > >>> On 07/08/2010 09:47 AM, Paul Harris wrote: > On 8 July 2010 15:31, Michael W

Re: [CMake] building tests

2010-07-11 Thread Michael Hertling
On 07/10/2010 06:54 PM, Paul Harris wrote: > On 9 July 2010 22:39, Michael Wild wrote: > >> >> On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: >> >>> On 07/08/2010 09:47 AM, Paul Harris wrote: On 8 July 2010 15:31, Michael Wild wrote: > > On 8. Jul, 2010, at 7:25 , Paul Har

Re: [CMake] building tests

2010-07-10 Thread Paul Harris
On 9 July 2010 22:39, Michael Wild wrote: > > On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: > > > On 07/08/2010 09:47 AM, Paul Harris wrote: > >> On 8 July 2010 15:31, Michael Wild wrote: > >> > >>> > >>> On 8. Jul, 2010, at 7:25 , Paul Harris wrote: > >>> > On 8 July 2010 12:56, Mich

Re: [CMake] building tests

2010-07-09 Thread Michael Wild
On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: > On 07/08/2010 09:47 AM, Paul Harris wrote: >> On 8 July 2010 15:31, Michael Wild wrote: >> >>> >>> On 8. Jul, 2010, at 7:25 , Paul Harris wrote: >>> On 8 July 2010 12:56, Michael Wild wrote: > > On 8. Jul, 2010, at 4:4

Re: [CMake] building tests

2010-07-09 Thread Michael Hertling
On 07/08/2010 09:47 AM, Paul Harris wrote: > On 8 July 2010 15:31, Michael Wild wrote: > >> >> On 8. Jul, 2010, at 7:25 , Paul Harris wrote: >> >>> On 8 July 2010 12:56, Michael Wild wrote: >>> On 8. Jul, 2010, at 4:40 , Paul Harris wrote: > On 7 July 2010 23:05, Michael Wild

Re: [CMake] building tests

2010-07-08 Thread Marcel Loose
On Thu, 2010-07-08 at 16:30 +0800, Paul Harris wrote: > > > On 8 July 2010 16:27, Marcel Loose wrote: > > On Thu, 2010-07-08 at 11:12 +0800, Paul Harris wrote: > > > > > > On 7 July 2010 23:38, Marcel Loose wrote: > > > > On Wed,

Re: [CMake] building tests

2010-07-08 Thread Marcel Loose
On Thu, 2010-07-08 at 11:12 +0800, Paul Harris wrote: > > > On 7 July 2010 23:38, Marcel Loose wrote: > > On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote: > > On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > > > > > Hi all, > > > > >

Re: [CMake] building tests

2010-07-08 Thread Marcel Loose
On Thu, 2010-07-08 at 11:12 +0800, Paul Harris wrote: > > > On 7 July 2010 23:38, Marcel Loose wrote: > > On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote: > > On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > > > > > Hi all, > > > > >

Re: [CMake] building tests

2010-07-08 Thread Paul Harris
On 8 July 2010 15:31, Michael Wild wrote: > > On 8. Jul, 2010, at 7:25 , Paul Harris wrote: > > > On 8 July 2010 12:56, Michael Wild wrote: > > > >> > >> On 8. Jul, 2010, at 4:40 , Paul Harris wrote: > >> > >>> On 7 July 2010 23:05, Michael Wild wrote: > >>> > > On 7. Jul, 2010, at 16

Re: [CMake] building tests

2010-07-08 Thread Michael Wild
On 8. Jul, 2010, at 7:25 , Paul Harris wrote: > On 8 July 2010 12:56, Michael Wild wrote: > >> >> On 8. Jul, 2010, at 4:40 , Paul Harris wrote: >> >>> On 7 July 2010 23:05, Michael Wild wrote: >>> On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > Hi all, > > I h

Re: [CMake] building tests

2010-07-07 Thread Paul Harris
On 8 July 2010 12:56, Michael Wild wrote: > > On 8. Jul, 2010, at 4:40 , Paul Harris wrote: > > > On 7 July 2010 23:05, Michael Wild wrote: > > > >> > >> On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > >> > >>> Hi all, > >>> > >>> I have looked and can't find the answer, so I turn to the list.

Re: [CMake] building tests

2010-07-07 Thread Michael Wild
On 8. Jul, 2010, at 4:40 , Paul Harris wrote: > On 7 July 2010 23:05, Michael Wild wrote: > >> >> On 7. Jul, 2010, at 16:01 , Paul Harris wrote: >> >>> Hi all, >>> >>> I have looked and can't find the answer, so I turn to the list. >>> >>> I have a CMakeLists.txt and a subdirectory called u

Re: [CMake] building tests

2010-07-07 Thread Paul Harris
On 7 July 2010 23:38, Marcel Loose wrote: > On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote: > > On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > > > > > Hi all, > > > > > > I have looked and can't find the answer, so I turn to the list. > > > > > > I have a CMakeLists.txt and a subdirector

Re: [CMake] building tests

2010-07-07 Thread Paul Harris
On 7 July 2010 23:05, Michael Wild wrote: > > On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > > > Hi all, > > > > I have looked and can't find the answer, so I turn to the list. > > > > I have a CMakeLists.txt and a subdirectory called utils, which also has > its > > own CMakeLists.txt > > > > I

Re: [CMake] building tests

2010-07-07 Thread Marcel Loose
On Wed, 2010-07-07 at 17:05 +0200, Michael Wild wrote: > On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > > > Hi all, > > > > I have looked and can't find the answer, so I turn to the list. > > > > I have a CMakeLists.txt and a subdirectory called utils, which also has its > > own CMakeLists.txt

Re: [CMake] building tests

2010-07-07 Thread Michael Wild
On 7. Jul, 2010, at 16:01 , Paul Harris wrote: > Hi all, > > I have looked and can't find the answer, so I turn to the list. > > I have a CMakeLists.txt and a subdirectory called utils, which also has its > own CMakeLists.txt > > In the parent CML.txt, I have something like: > > ENABLE_TESTIN

[CMake] building tests

2010-07-07 Thread Paul Harris
Hi all, I have looked and can't find the answer, so I turn to the list. I have a CMakeLists.txt and a subdirectory called utils, which also has its own CMakeLists.txt In the parent CML.txt, I have something like: ENABLE_TESTING() add_subdirectory(utils) In my utils CML.txt, I have ADD_EXECUTA

Re: [CMake] Building tests only for "make test"

2009-12-15 Thread Marcel Loose
tefan > > > -Original Message- > From: Marcel Loose [mailto:lo...@astron.nl] > Sent: Freitag, 11. Dezember 2009 18:17 > To: stefan.sablatn...@svox.com > Cc: cmake@cmake.org > Subject: Re: [CMake] Building tests only for "make test" > > Hi Stefan, > >

Re: [CMake] Building tests only for "make test"

2009-12-14 Thread Dr . Stefan Sablatnög
ember 2009 18:17 To: stefan.sablatn...@svox.com Cc: cmake@cmake.org Subject: Re: [CMake] Building tests only for "make test" Hi Stefan, I once dug into this issue, because I wanted to (more or less) emulate the GNU Autotools 'make check' feature. Have a look at

Re: [CMake] Building tests only for "make test"

2009-12-11 Thread Marcel Loose
Hi Stefan, I once dug into this issue, because I wanted to (more or less) emulate the GNU Autotools 'make check' feature. Have a look at http://www.cmake.org/Wiki/CMakeEmulateMakeCheck and see if that answers you question. Best regards, Marcel Loose. On Fri, 2009-12-11 at 15:53 +0100, Dr. Stefan

[CMake] Building tests only for "make test"

2009-12-11 Thread Dr . Stefan Sablatnög
Hi all, I face a (probably simple) problem: I want to build a project, that includes tests, but these should not be build on default, so I added EXCLUDE_FROM_ALL to the add_executable command. How can I force them to be built when testing ? (we test through make test and continuously