[CMake] ctest & git submodules

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Tue Feb 26 14:52:03 EST 2013


+1 to add these into CTest :) What would be the argument against it ?
Jc


On Tue, Feb 26, 2013 at 2:40 PM, Marcus D. Hanwell <
marcus.hanwell at kitware.com> wrote:

> On Tue, Feb 26, 2013 at 2:36 PM, Clinton Stimpson <clinton at elemtech.com>
> wrote:
> >
> > Thanks.  I may have to do that for now.
> >
> > However, it seems to me that ctest already does a
> > git submodule update --recurse
> > but its missing the --init flag to deal with changes to the .gitmodules
> file.
> >
> It also misses git submodule sync to deal with changes in git
> submodule URL, and reset --hard etc. We have just been dealing with a
> few of these issues and currently call git directly to sync, init, and
> then use submodule foreach to reset and clean all submodules before
> updating.
>
> I wonder if any of these are good candidates for adding to ctest in the
> future.
>
> Marcus
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130226/0182d720/attachment.htm>


More information about the CMake mailing list