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
>>
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
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,
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
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
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
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
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 :-)
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