Re: [CMake] CTest and Git submodules

2011-06-27 Thread NoRulez
If anyone is interessted, I think I found a solution: git submodule update --init --recursive Instead of both lines Best Regards Am 27.06.2011 um 19:56 schrieb NoRulez : > Hi, > > > > currently I use the following to update git submodules during the ctest: > > > > if (EXISTS "${CTE

[CMake] CTest and Git submodules

2011-06-27 Thread NoRulez
Hi, currently I use the following to update git submodules during the ctest: if (EXISTS "${CTEST_SOURCE_DIRECTORY}/.gitmodules") execute_process (COMMAND ${GIT_EXECUTABLE} submodule init WORKING_DIRECTORY ${CTEST_SOURCE_DIRECTORY}) # Update

Re: [CMake] ctest and git submodules

2011-01-14 Thread Gerhard Gappmeier
Hi David, with 2.8.3 the submodule update works. Thx. On Wednesday 12 January 2011 18:43:41 you wrote: > Are you using CMake 2.8.3? If not, you should upgrade. There were some > improvements made w.r.t. ctest_update and git repos in that release. I > think the submodule update was one of them...

Re: [CMake] ctest and git submodules

2011-01-12 Thread Brad King
On 1/12/2011 12:43 PM, David Cole wrote: > Are you using CMake 2.8.3? If not, you should upgrade. There were some > improvements made w.r.t. ctest_update and git repos in that release. I > think the submodule update was one of them... Among the improvements was the submodule update command: htt

Re: [CMake] ctest and git submodules

2011-01-12 Thread Marcus D. Hanwell
On Wed, Jan 12, 2011 at 12:16 PM, Gerhard Gappmeier wrote: > Hi, > > my project is stored in a git repo with submodules. > > I'm wondering if ctest is updating also the submodules when running > > ctest Nightly|Continuous etc. > > or just the main repo. > > I believe not, unless I have some other

Re: [CMake] ctest and git submodules

2011-01-12 Thread David Cole
Are you using CMake 2.8.3? If not, you should upgrade. There were some improvements made w.r.t. ctest_update and git repos in that release. I think the submodule update was one of them... HTH, David On Wed, Jan 12, 2011 at 12:16 PM, Gerhard Gappmeier < gerhard.gappme...@ascolab.com> wrote: >

Re: [CMake] ctest and git submodules

2011-01-12 Thread David Cole
Are you using CMake 2.8.3? If not, you should upgrade. There were some improvements made w.r.t. ctest_update and git repos in that release. I think the submodule update was one of them... HTH, David On Wed, Jan 12, 2011 at 12:16 PM, Gerhard Gappmeier < gerhard.gappme...@ascolab.com> wrote: >

[CMake] ctest and git submodules

2011-01-12 Thread Gerhard Gappmeier
Hi, my project is stored in a git repo with submodules. I'm wondering if ctest is updating also the submodules when running ctest Nightly|Continuous etc. or just the main repo. I believe not, unless I have some other problems with my test script. I could do a manual "git pull && git submodule in