Re: [CMake] making Nightly builds easier to setup

2008-11-13 Thread Martin Apel
Alexander Neundorf wrote: > On Monday 10 November 2008, Martin Apel wrote: > ... > >> I recently played around with nightly builds as well. I used to have a >> setup for experimental builds, but never could get the svn checkout to >> run. With the approach described above, I was finally able >>

Re: [CMake] making Nightly builds easier to setup

2008-11-12 Thread Alexander Neundorf
On Monday 10 November 2008, Martin Apel wrote: ... > I recently played around with nightly builds as well. I used to have a > setup for experimental builds, but never could get the svn checkout to > run. With the approach described above, I was finally able > to run checkout from svn from within ct

Re: [CMake] making Nightly builds easier to setup

2008-11-11 Thread Martin Apel
Hi all, writing the CMakeCache.txt in advance works fine, thanks. Anyway, I haven't been able to get some things to work which work for my experimental setup, which uses old-style CTest scripts. Memory checking and coverage tests do not work anymore. I searched through the sources of CMake a bit,

Re: [CMake] making Nightly builds easier to setup

2008-11-10 Thread Alexander Neundorf
On Monday 10 November 2008, Martin Apel wrote: ... > I recently played around with nightly builds as well. I used to have a > setup for experimental builds, but never could get the svn checkout to > run. With the approach described above, I was finally able > to run checkout from svn from within ct

Re: [CMake] making Nightly builds easier to setup

2008-11-10 Thread clinton
If you don't want to overwrite the CMakeCache.txt file, you can do the following instead of a FILE(WRITE...). This also works if you don't have an initial CMakeCache.txt file. SET(FORCED_CACHE_VALUES \"-DCMAKE_OSX_ARCHITECTURES:STRING=i386;ppc\" \"-DCMAKE_BUILD_TYPE:STRING=Release\" ) STR

Re: [CMake] making Nightly builds easier to setup

2008-11-10 Thread David Cole
The variable CTEST_INITIAL_CACHE is ignored in new-style (CTEST_BUILD() command based) ctest scripts. Instead, you should use: FILE(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" " MAKECOMMAND:STRING=nmake -i CMAKE_MAKE_PROGRAM:FILEPATH=nmake CMAKE_GENERATOR:INTERNAL=NMake Makefiles BUILDNAME:ST

Re: [CMake] making Nightly builds easier to setup

2008-11-10 Thread Martin Apel
Eric Noulard wrote: > 2008/11/9 Alexander Neundorf <[EMAIL PROTECTED]>: > [...] > > >> commands can be executed. >> >> IMO this can make setting up Nightly builds much easier. >> > > Looks interesting, I didn't ever thought ctest scripting was done for that. > I did shell scripts for that a

Re: [CMake] making Nightly builds easier to setup

2008-11-09 Thread Eric Noulard
2008/11/9 Alexander Neundorf <[EMAIL PROTECTED]>: [...] > commands can be executed. > > IMO this can make setting up Nightly builds much easier. Looks interesting, I didn't ever thought ctest scripting was done for that. I did shell scripts for that and was wondering how to do it on Windows :-)

[CMake] making Nightly builds easier to setup

2008-11-09 Thread Alexander Neundorf
Hi, at http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/KDE4CTestNightlySetup.cmake?revision=882117&view=markup you can find a script (currently) named KDE4CTestNightlySetup.cmake, which purpose is to make setting up Nightly builds much easier. It has to included in a ctest new-style script