[vtk-developers] Git setup for cmake/ctest/cdash projects

Bill Lorensen bill.lorensen at gmail.com
Fri May 7 17:01:45 EDT 2010


I tried that too...

Here is the problem, no matter what I've tried I get the warning once.

Then, this is set in my CMakeCache.txt file:
//Already complained about update type.
__CTEST_UPDATE_TYPE_COMPLAINED:INTERNAL=1

and it looks like everything is fine after that.

Check your cache and see if that is set.



On Fri, May 7, 2010 at 4:42 PM, Chuck Atkins <chuck.atkins at kitware.com> wrote:
> I was getting the same error in a different project.  I ended up needing to
> set:
>
> set( CTEST_GIT_COMMAND "git" )
>
> in the CMake test script
>
>
> -- "Mathematicians are tools for turning coffee grounds into formulas.",
> Paul Erdos
>
>
> On Fri, May 7, 2010 at 3:52 PM, Dave Partyka <dave.partyka at kitware.com>
> wrote:
>>
>> You have to use at least CMake 2.8.0. Anything less will complain because
>> it doesn't know about git.
>>
>> On Fri, May 7, 2010 at 3:49 PM, Bill Lorensen <bill.lorensen at gmail.com>
>> wrote:
>>>
>>> I know about scrpting. I want to set up the CMakeLsist.txt file so
>>> that a user can
>>> make Experimental
>>> or
>>> make Nightly
>>>
>>> and have it work.
>>>
>>> I still get the warning:
>>> CTest cannot determine repository type. Please set UPDATE_TYPE to
>>> 'cvs' or 'svn'. CTest update will not work.
>>>
>>>
>>> On Fri, May 7, 2010 at 3:39 PM, Aashish Chaudhary
>>> <aashish.chaudhary at kitware.com> wrote:
>>> >
>>> > Bill,
>>> >
>>> > Look here too.. this might help:
>>> >
>>> > http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest
>>> >
>>> > there is a section for git.
>>> >
>>> > On Fri, May 7, 2010 at 3:33 PM, Aashish Chaudhary
>>> > <aashish.chaudhary at kitware.com> wrote:
>>> >>
>>> >> I believe you have to set.. there two
>>> >>
>>> >> SET(UPDATE_COMMAND "${GITCOMMAND}")
>>> >> SET(UPDATE_OPTIONS "${GIT_UPDATE_OPTIONS}")
>>> >>
>>> >> On Fri, May 7, 2010 at 3:15 PM, Bill Lorensen
>>> >> <bill.lorensen at gmail.com>
>>> >> wrote:
>>> >>>
>>> >>> For example I get this Cmake warning:
>>> >>> Cannot find UpdateCommand or GITCommand configuration key.
>>> >>>
>>> >>>
>>> >>> On Fri, May 7, 2010 at 3:08 PM, Bill Lorensen
>>> >>> <bill.lorensen at gmail.com>
>>> >>> wrote:
>>> >>> > What CMake variables are required for setting up a project that
>>> >>> > uses
>>> >>> > cmake/ctest/cdash. We have a project that uses VTK.
>>> >>> >
>>> >>> > There is a variable
>>> >>> > UPDATE_TYPE:STRING=git
>>> >>> >
>>> >>> > are there others?
>>> >>> >
>>> >>> > Bill
>>> >>> >
>>> >>> _______________________________________________
>>> >>> Powered by www.kitware.com
>>> >>>
>>> >>> Visit other Kitware open-source projects at
>>> >>> http://www.kitware.com/opensource/opensource.html
>>> >>>
>>> >>> Follow this link to subscribe/unsubscribe:
>>> >>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> | Aashish Chaudhary
>>> >> | R&D Engineer
>>> >> | Kitware Inc.
>>> >> | www.kitware.com
>>> >
>>> >
>>> >
>>> > --
>>> > | Aashish Chaudhary
>>> > | R&D Engineer
>>> > | Kitware Inc.
>>> > | www.kitware.com
>>> >
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
>



More information about the vtk-developers mailing list