<span class="q">On 1/3/07, <b class="gmail_sendername">Alexander Neundorf</b> &lt;<a href="mailto:a.neundorf-work@gmx.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">a.neundorf-work@gmx.net</a>&gt; wrote:
</span><div><span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Why does the cont. build need a CTestConfig.cmake but the nightly build works ok if the settings are inside the CMakeLists.txt ?</blockquote></span><div><br>CTestConfig.cmake
is used by ctest *before* a configure run during a dashboard execution.
This would also work if the variables were set in the driving dashboard
script (using those new style, not-yet-documented, CTEST_UPDATE() etc.
commands) prior to the point where they are needed.
<br></div><span class="q"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why do I need two special files for ctest, CTestConfig.cmake and 
CTestCustom.cmake
 ?<br></blockquote></span></div>They
were introduced at different times for different reasons. CTestConfig
is used independent of a configure run of cmake... CTestCustom is read
during a cmake configure step...<br><br>HTH,<br><span class="sg">David<br><br></span><br><div><span class="gmail_quote">On 1/3/07, <b class="gmail_sendername">Alexander Neundorf</b> &lt;<a href="mailto:a.neundorf-work@gmx.net">
a.neundorf-work@gmx.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I&#39;m running nightly builds for some months now already, and have therefor created a file 
CTestCustom.cmake, which contains upper error limit, exclude regexps and other things like this.<br>In the top level CMakeLists.txt I have the settings for NIGHTLY_START_TIME, DROP_METHOD, DROP_SITE, DROP_LOCATION and COMPRESS_SUBMISSION. This works ok for the nightly builds.
<br>Now I tried to run a cont. build, and then ctest complained it can&#39;t find a CTestConfig.cmake. So the cmake wiki told me to put the mentioned settings in the CTestConfig.cmake, I did this now and it seems to work.
<br><br>Why does the cont. build need a CTestConfig.cmake but the nightly build works ok if the settings are inside the CMakeLists.txt ?<br>Why do I need two special files for ctest, CTestConfig.cmake and CTestCustom.cmake
 ?<br><br>Bye<br>Alex<br><br>--<br>Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!<br>Ideal für Modem und ISDN: <a href="http://www.gmx.net/de/go/smartsurfer">http://www.gmx.net/de/go/smartsurfer</a><br>
_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake
</a><br></blockquote></div><br>