What version of cmake are you using?<div><br></div><div>Where is CTestConfig.cmake relative to your top level CMakeLists.txt file? (They should be in the same directory.)<br><br></div><div>Is your source tree available for us to try to reproduce the problem?</div>
<div><br></div><div><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 5:14 AM, <a href="mailto:hgc-01134@hkedcity.net">hgc-01134@hkedcity.net</a> wong <span dir="ltr">&lt;<a href="mailto:emeplease@gmail.com">emeplease@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I am using CMake with CTest and CDash on a project.<br>
<br>
This is the CTestConfig.cmake located under the source directory:<br>
================================================================<br>
set(CTEST_PROJECT_NAME &quot;CDE&quot;)<br>
set(CTEST_NIGHTLY_START_TIME &quot;00:00:00 EST&quot;)<br>
<br>
set(CTEST_DROP_METHOD &quot;http&quot;)<br>
set(CTEST_DROP_SITE &quot;<a href="http://cde.abc.com" target="_blank">cde.abc.com</a>&quot;)<br>
set(CTEST_DROP_LOCATION &quot;/cdash/submit.php?project=CDE&quot;)<br>
set(CTEST_DROP_SITE_CDASH TRUE)<br>
================================================================<br>
<br>
However, the generated DartConfiguration.tcl is something like below,<br>
the DropSite and DropLocation are incorrect.<br>
Thank you very much<br>
<br>
=================================================================<br>
 This file is configured by CMake automatically as DartConfiguration.tcl<br>
# If you choose not to use CMake, this file may be hand configured, by<br>
# filling in the required variables.<br>
<br>
<br>
# Configuration directories and files<br>
SourceDirectory: /home/cywong/cpe3/svnlocal/trunk/test<br>
BuildDirectory: /home/cywong/cpe3/build/test<br>
<br>
# Site is something like machine.domain, i.e. pragmatic.crd<br>
Site: cdevm2centos55x86<br>
<br>
# Build name is osname-revision-compiler, i.e. Linux-2.4.2-2smp-c++<br>
BuildName: Linux-c++<br>
<br>
# Submission information<br>
IsCDash:<br>
DropSite: <a href="http://public.kitware.com" target="_blank">public.kitware.com</a><br>
DropLocation: /cgi-bin/HTTPUploadDartFile.cgi<br>
DropSiteUser:<br>
DropSitePassword:<br>
DropSiteMode:<br>
DropMethod: http<br>
TriggerSite: <a href="http://public.kitware.com/cgi-bin/Submit-Random-TestingResults.cgi" target="_blank">http://public.kitware.com/cgi-bin/Submit-Random-TestingResults.cgi</a><br>
ScpCommand: /usr/bin/scp<br>
====================================================================<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>