[CMake] Downloading something with CMake

Eric Noulard eric.noulard at gmail.com
Fri Jul 10 13:26:01 EDT 2009


Hi all,

Is there any builtin downloading function in CMake or CTest?
As far as I know CTest has buit-in curl capability
so may be there is (or would be) a

GET_FILE(<filename> <url>) macro that could be implemented?

I want to automate (with CMake) the retrieval of third party file
using http/https/ftp?

Or should I use FindWget.cmake etc...

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list