If you customize DOWNLOAD_COMMAND, you should also probably customize
UPDATE_COMMAND. If you are just using a fixed snapshot from some repo,
consider simply using a *.tar.gz snapped to that commit rather than
connecting to the repo at all. The GitHub "/archive/" URLs are perfect
for this.
However,
I finally got a chance to try David's suggestion out, but unfortunately
that doesn't work. I think the ExternalProject script is downloading the
submodules in a separate step rather than via the "git clone
--recursive" command.
I simply mentioned the recursive clone as a way to reproduce the i
Sounds like you should consider customizing the git clone with
DOWNLOAD_COMMAND. You can do anything you want as a customization...
HTH,
David
> On Oct 24, 2016, at 11:35 PM, Timothy Rae wrote:
>
> Thanks for the tip, but I'd rather it didn't fetch the documentation
> submodule at all, as th
Thanks for the tip, but I'd rather it didn't fetch the documentation
submodule at all, as this unnecessarily slows down the build.
On Tue, Oct 25, 2016 at 12:29 PM, Hendrik Sattler
wrote:
> Hi,
>
> you can tell git where your copy of tree remote url is. This is
> site-specific and does not chang
Hi,
you can tell git where your copy of tree remote url is. This is site-specific
and does not change the repository:
git config remote."$origirl".url "$newurl"
HS
Am 25. Oktober 2016 03:52:12 MESZ, schrieb Tim Rae :
>Hi all,
>
>I'm using ExternalProject_Add to add the popular C++ library rang
Hi all,
I'm using ExternalProject_Add to add the popular C++ library range-v3 to
one of our projects. However, since the build server only has local
intranet access, and therefore can't access the main github repository,
we have put a clone of that repo on our local gitlab:
ExternalProject_A
r update steps, my
odd use case notwithstanding.
Tim
- Original Message -
From: "Tim Gallagher"
To: "cmake"
Sent: Friday, March 13, 2015 1:05:42 PM
Subject: Re: [CMake] Prevent ExternalProject from updating git submodules
Hi Nicholas,
I tried that and no luc
Sent: Friday, March 13, 2015 12:52:41 PM
Subject: Re: [CMake] Prevent ExternalProject from updating git submodules
Hi Tim,
I use external project but not the GIT_SUBMODULES but maybe the following might
work
(1) Create an empty list
(2) set GIT_SUBMODULES to that empty list
Cheers
On 13
Hi everybody,
I'm plugging away at using the ExternalProject features to package up our code.
Looking at the documentation for ExternalProject_Add, it says:
...
[GIT_SUBMODULES modules...] # Git submodules that shall be updated, all if empty
...
which is cool, but what do I do if I don't want a