[CMake] Install from a source directory with ExternalProject

Nicholas Braden nicholas11braden at gmail.com
Fri Feb 26 09:40:26 EST 2016


I'm not sure how you would download a directory without it being in
some sort of archive. If you just want to use an existing directory,
use the SOURCE_DIR option instead.

On Fri, Feb 26, 2016 at 8:37 AM, Cedric Doucet <cedric.doucet at inria.fr> wrote:
>
> Hello,
>
> I would like to know if it's possible to download and install an external
> project from a source directory instead of a tarball.
> I tried to do it with ExternalProject_Add function but it tries to
> uncompress source files and then fails.
>
> Cédric
>
> --
>
> 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


More information about the CMake mailing list