CMake/Git/Dashboard

From KitwarePublic
Jump to navigationJump to search


This page documents how to use the CMake dashboard branch in Git. See our table of contents for more information.

Using the dashboard scripts

The dashboard branch contains a dashboard client helper script. Use these commands to track it:

$ mkdir -p ~/Dashboards/CMakeScripts
$ cd ~/Dashboards/CMakeScripts
$ git init
$ git remote add -t dashboard origin https://cmake.org/cmake.git
$ git pull origin

The cmake_common.cmake script contains setup instructions in its top comments. Update the dashboard branch to get the latest version of this script by simply running

$ git pull origin

Nightly Start Time

The cmake_common.cmake script expects its includer to be run from a nightly scheduled task (cron job). Schedule such tasks for sometime after 1:00am UTC, the time at which the nightly branch fast-forwards.