I was getting the same error in a different project.  I ended up needing to set:<br><br><span style="font-family: courier new,monospace;">set( CTEST_GIT_COMMAND "git" )</span><br><br>in the CMake test script<br><br>

<br>-- "Mathematicians are tools for turning coffee grounds into formulas.", Paul Erdos<br>
<br><br><div class="gmail_quote">On Fri, May 7, 2010 at 3:52 PM, Dave Partyka <span dir="ltr"><<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

You have to use at least CMake 2.8.0. Anything less will complain because it doesn't know about git.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, May 7, 2010 at 3:49 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I know about scrpting. I want to set up the CMakeLsist.txt file so<br>
that a user can<br>
make Experimental<br>
or<br>
make Nightly<br>
<br>
and have it work.<br>
<br>
I still get the warning:<br>
CTest cannot determine repository type. Please set UPDATE_TYPE to<br>
'cvs' or 'svn'. CTest update will not work.<br>
<br>
<br>
On Fri, May 7, 2010 at 3:39 PM, Aashish Chaudhary<br>
<div><div></div><div><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>> wrote:<br>
><br>
> Bill,<br>
><br>
> Look here too.. this might help:<br>
><br>
> <a href="http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest" target="_blank">http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest</a><br>
><br>
> there is a section for git.<br>
><br>
> On Fri, May 7, 2010 at 3:33 PM, Aashish Chaudhary<br>
> <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>> wrote:<br>
>><br>
>> I believe you have to set.. there two<br>
>><br>
>> SET(UPDATE_COMMAND "${GITCOMMAND}")<br>
>> SET(UPDATE_OPTIONS "${GIT_UPDATE_OPTIONS}")<br>
>><br>
>> On Fri, May 7, 2010 at 3:15 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> For example I get this Cmake warning:<br>
>>> Cannot find UpdateCommand or GITCommand configuration key.<br>
>>><br>
>>><br>
>>> On Fri, May 7, 2010 at 3:08 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>><br>
>>> wrote:<br>
>>> > What CMake variables are required for setting up a project that uses<br>
>>> > cmake/ctest/cdash. We have a project that uses VTK.<br>
>>> ><br>
>>> > There is a variable<br>
>>> > UPDATE_TYPE:STRING=git<br>
>>> ><br>
>>> > are there others?<br>
>>> ><br>
>>> > Bill<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<br>
>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> | Aashish Chaudhary<br>
>> | R&D Engineer<br>
>> | Kitware Inc.<br>
>> | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
><br>
><br>
> --<br>
> | Aashish Chaudhary<br>
> | R&D Engineer<br>
> | Kitware Inc.<br>
> | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br>
</div></div><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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br>