Re: [CMake] Don't download external projects again after calling make clean

2015-04-23 Thread Cedric Doucet
...@inria.fr Cc: cmake@cmake.org Envoyé: Samedi 18 Avril 2015 20:39:57 Objet: Re: [CMake] Don't download external projects again after calling make clean What version of CMake are you using? All the modern pre-built CMake installations should support https without extra effort on your part

Re: [CMake] Don't download external projects again after calling make clean

2015-04-23 Thread David Cole via CMake
= De: David Cole dlrd...@aol.com À: Cedric Doucet cedric.dou...@inria.fr Cc: cmake@cmake.org Envoyé: Samedi 18 Avril 2015 20:39:57 Objet: Re: [CMake] Don't download external projects again after calling make clean What version of CMake are you using? All

Re: [CMake] Don't download external projects again after calling make clean

2015-04-23 Thread Cedric Doucet
@cmake.org Envoyé: Jeudi 23 Avril 2015 14:01:54 Objet: Re: [CMake] Don't download external projects again after calling make clean I don't know why but providing my own STAMP_DIR seems to solve the problem: STAMP_DIR ${EXTERNAL_DIR}/eigen/stamp Hope it helps! Cédric - Mail original

Re: [CMake] Don't download external projects again after calling make clean

2015-04-23 Thread Cedric Doucet
original - De: Cedric Doucet cedric.dou...@inria.fr À: cmake@cmake.org Envoyé: Jeudi 23 Avril 2015 14:14:59 Objet: Re: [CMake] Don't download external projects again after calling make clean Does the extracted eigen source tree look like it's a proper un-tarred eigen source

Re: [CMake] Don't download external projects again after calling make clean

2015-04-23 Thread David Cole via CMake
:35 Objet: Re: [CMake] Don't download external projects again after calling make clean I don't understand what the error is here, but here are some comments: (1) CMAKE_INSTALL_PREFIX=$INSTALL_DIR The $ is unnecessary and incorrect in this context. The literal string INSTALL_DIR

Re: [CMake] Don't download external projects again after calling make clean

2015-04-23 Thread Cedric Doucet
:36 Objet: Re: [CMake] Don't download external projects again after calling make clean It looks correct. I don't understand what the error is. It looks like the download and extract succeeds, but then it simply doesn't move on to the next step of trying to configure with CMake... Does

Re: [CMake] Don't download external projects again after calling make clean

2015-04-23 Thread Cedric Doucet
cedric.dou...@inria.fr Cc: cmake@cmake.org Envoyé: Jeudi 23 Avril 2015 13:14:35 Objet: Re: [CMake] Don't download external projects again after calling make clean I don't understand what the error is here, but here are some comments: (1) CMAKE_INSTALL_PREFIX=$INSTALL_DIR

Re: [CMake] Don't download external projects again after calling make clean

2015-04-18 Thread Cedric Doucet
...@aol.com À: Cedric Doucet cedric.dou...@inria.fr Cc: cmake@cmake.org Envoyé: Vendredi 17 Avril 2015 13:21:08 Objet: Re: [CMake] Don't download external projects again after calling make clean Eliminate your DOWNLOAD_COMMAND. CMake knows how to do it with just the URL_MD5, DOWNLOAD_DIR

Re: [CMake] Don't download external projects again after calling make clean

2015-04-18 Thread Cedric Doucet
18 Avril 2015 13:00:28 Objet: Re: [CMake] Don't download external projects again after calling make clean Hello David, thank you very much. Unfortunately, I get the following error message if I remove my download command: -- downloading... src='http://bitbucket.org

Re: [CMake] Don't download external projects again after calling make clean

2015-04-18 Thread Cedric Doucet
not supported or disabled in libcurl Closing connection -1 - Mail original - De: David Cole dlrd...@aol.com À: Cedric Doucet cedric.dou...@inria.fr Cc: cmake@cmake.org Envoyé: Vendredi 17 Avril 2015 13:21:08 Objet: Re: [CMake] Don't download external projects again after calling

Re: [CMake] Don't download external projects again after calling make clean

2015-04-18 Thread David Cole via CMake
: [CMake] Don't download external projects again after calling make clean I have just tried to install curl to get https support. To do that, I have followed the steps below: 1. Installation of openssl: 1.a. ./config --prefix=/my/openssl/path 1.b. make 1.c. make test 1.d

Re: [CMake] Don't download external projects again after calling make clean

2015-04-17 Thread David Cole via CMake
: Lundi 13 Avril 2015 12:40:34 Objet: Re: [CMake] Don't download external projects again after calling make clean Use the URL_MD5 and DOWNLOAD_DIR arguments to ExternalProject_Add to put the downloaded files into a location outside the build tree (perhaps ~/Downloads on Mac/Linux or $ENV

Re: [CMake] Don't download external projects again after calling make clean

2015-04-16 Thread Cedric Doucet
...@inria.fr Cc: cmake@cmake.org Envoyé: Lundi 13 Avril 2015 12:40:34 Objet: Re: [CMake] Don't download external projects again after calling make clean Use the URL_MD5 and DOWNLOAD_DIR arguments to ExternalProject_Add to put the downloaded files into a location outside the build tree

[CMake] Don't download external projects again after calling make clean

2015-04-13 Thread Cedric Doucet
Hello! I use the ExternalProject_Add function to download third-party libraries of a code. Once a library has been downloaded, I can call make as many times as I want without downloading this library again. It seems that CMake detects that the library has already been downloaded.

Re: [CMake] Don't download external projects again after calling make clean

2015-04-13 Thread David Cole via CMake
Use the URL_MD5 and DOWNLOAD_DIR arguments to ExternalProject_Add to put the downloaded files into a location outside the build tree (perhaps ~/Downloads on Mac/Linux or $ENV{USERPROFILE}/Downloads on Windows). With DOWNLOAD_DIR outside the build tree, and the checksums of the downloaded files