[CMake] CTest: Problem checkout whole repository with automated testing (Continuous Build, etc. )

stefan page stefanspage at yahoo.de
Fri Apr 25 11:20:22 EDT 2008


Hello,
I have a little problem with Continuous, Experimental and Nightly builds.
For preliminaries, I've a directory structure that looks like this:
/svn/trunk/modules/fooModule/fooModule.cmake
/svn/trunk/modules/fooModule2/fooModule2.cmake
/svn/trunk/applications/fooApplication/CMakeLists.txt
/svn/trunk/applications/fooApplication2/CMakeLists.txt
The fooApplication-Folder contains the CMakeLists.txt from which the project were generated. The fooApplication also uses the fooModule via INCLUDE ( ../../modules/fooModule/fooModule.cmake ).
The problem now is that if I want to setup a test workstation for Continuous and nightly builds, ctest will only update fooApplication-Folder not the whole repository.
Is there any way to say CTest that it have to udpate the whole repository (e.g. from /svn/trunk/ ) ? Or update only the folders which were used to build the project??
I have already tried to set the CTEST_SOURCE_DIRECTORY variable in CMakeLists.txt or to use a custom CTest script which uses the CTEST_UPDATE command. (CTEST_UPDATE is not supported in CMake/CTest 2.4.8 )
Could anybody help me?
Thanks
Stefan


      __________________________________________________________
Gesendet von Yahoo! Mail.
Mehr Möglichkeiten, in Kontakt zu bleiben. http://de.overview.mail.yahoo.com


More information about the CMake mailing list