[CMake] Downloading something with CMake

Eric Noulard eric.noulard at gmail.com
Fri Jul 10 13:31:07 EDT 2009


2009/7/10 Will Dicharry <wdicharry at stellarscience.com>:
> Eric Noulard wrote:
>>
>> Is there any builtin downloading function in CMake or CTest?
[...]
>>
>> 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.

Yes that's it.
I knew did read that in the past but could remember the [sub]-command.

Thank you Will.

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


More information about the CMake mailing list