Eric Noulard wrote:
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?


Take a look at the file( DOWNLOAD ... ) command. I think that should do what you want.

--Will

Or should I use FindWget.cmake etc...


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to