Hi,
Have a look here: http://www.cmake.org/Bug/view.php?id=15291
You should be able to use, for the time being, DOWNLOAD_COMMAND and
UPDATE_COMMAND to achieve this. (have not tested myself)
Hope this helps.
Cheers,
Yngve
On 08/01/15 23:58, Kent Williams wrote:
I'm building the Mozilla Spidermonkey JS interpreter as an
ExternalProject.
So far so good, but I had a question/feature request: Wouldn't it be
grand to be able to add --depth 1 to the git clone? This is perfect
for grabbing giant repositories. Mozilla is more than 3 gigabytes with
a full clone, and a depth=1 checkout is a 1/3 that.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake