Re: [CMake] How URL_MD5 is computed in ExternalProject_Add?

2015-05-19 Thread Cedric Doucet
: Cedric Doucet cedric.dou...@inria.fr À: cmake@cmake.org Envoyé: Mardi 19 Mai 2015 12:37:03 Objet: [CMake] How URL_MD5 is computed in ExternalProject_Add? Hello, I use the URL_MD5 variable to avoid downloading more than once a library with the ExternalProject_Add command. However, I don't manage

[CMake] How URL_MD5 is computed in ExternalProject_Add?

2015-05-19 Thread Cedric Doucet
Hello, I use the URL_MD5 variable to avoid downloading more than once a library with the ExternalProject_Add command. However, I don't manage to get the same MD5 code as CMake when I try to get one with generators available on the internet. How could I get the same one for an URL written in

Re: [CMake] How URL_MD5 is computed in ExternalProject_Add?

2015-05-19 Thread CHEVRIER, Marc
You can use FILE (MD5 file variable) command to compute MD5 value. From: CMake on behalf of Cedric Doucet Date: Tuesday 19 May 2015 13:14 To: cmake@cmake.orgmailto:cmake@cmake.org Subject: Re: [CMake] How URL_MD5 is computed in ExternalProject_Add? I managed to obtain the same MD5 code

Re: [CMake] How URL_MD5 is computed in ExternalProject_Add?

2015-05-19 Thread Cedric Doucet
... And thank you very much for your help Marc! :) - Mail original - De: Cedric Doucet cedric.dou...@inria.fr À: David Cole dlrd...@aol.com Cc: cmake@cmake.org Envoyé: Mardi 19 Mai 2015 15:38:49 Objet: Re: [CMake] How URL_MD5 is computed in ExternalProject_Add? Hello David

Re: [CMake] How URL_MD5 is computed in ExternalProject_Add?

2015-05-19 Thread Cedric Doucet
original - De: David Cole dlrd...@aol.com À: Marc CHEVRIER marc.chevr...@sap.com Cc: Cedric Doucet cedric.dou...@inria.fr, cmake@cmake.org Envoyé: Mardi 19 Mai 2015 15:04:58 Objet: Re: [CMake] How URL_MD5 is computed in ExternalProject_Add? The point of specifying URL_MD5

Re: [CMake] How URL_MD5 is computed in ExternalProject_Add?

2015-05-19 Thread David Cole via CMake
: Tuesday 19 May 2015 13:14 To: cmake@cmake.org Subject: Re: [CMake] How URL_MD5 is computed in ExternalProject_Add? I managed to obtain the same MD5 code by running the md5sum command on the downloaded file. However, I would like to write an automatic way of downloading third-party libraries