You can edit this standard file with the options you usually enter manually during the ccmake step.

Once the .cmake file is working, you can set up the run every night. Depending on your timezone, you might want to adjust the starting time. The nightly version is the dev repository at 2000 french time (which is GMT+1 now). You want to make it start after that, but as early as you can in the night to make sure that it is finished in the morning.