[CMake] continuous build on a branch?

Bram de Greve bramz at users.sourceforge.net
Wed Feb 4 13:54:48 EST 2009


Weird, because that's exactly what I'm trying.
I'll have a closer look.
Bram

Bill Hoffman wrote:
> Bram de Greve wrote:
>> Hello,
>>
>> Does anyone know how I can fix this?  I need a continuous build on a
>> branch, but it keeps updating to the main branch
>>
> This script does that:
>
> http://www.cdash.org/CDash/viewNotes.php?buildid=263229
>
> Key parts are here:
>
> if(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${CTEST_DIR_NAME}")
>   set(CTEST_CHECKOUT_COMMAND     "\"${CTEST_UPDATE_COMMAND}\" -q -z3 
> -d:pserver:anoncvs at www.cmake.org:/cvsroot/CMake co -d 
> \"${CTEST_DIR_NAME}\" -D yesterday -r CMake-2-6 ${CTEST_MODULE_NAME}")
> endif(NOT EXISTS "${CTEST_DASHBOARD_ROOT}/${CTEST_DIR_NAME}")
>
> set(CTEST_UPDATE_COMMAND       ${CVS})
> set(CTEST_UPDATE_OPTIONS       "-d -P -r CMake-2-6")
>
>
> -Bill



More information about the CMake mailing list