[CMake] set proxy with cmake file download

AKHRES Nader nader.akhres at laposte.net
Fri Mar 12 02:31:54 EST 2010


I'm using windows... maybe it works on linux, I'll have a try but I 
would need a way to make it works on windows as well

Le 12/03/2010 03:48, Philip Lowman a écrit :
> Have you tried setting the http_proxy environment variable?
> export http_proxy="http://host:port"
>
> On Thu, Mar 11, 2010 at 7:47 AM, nader.akhres at laposte.net 
> <mailto:nader.akhres at laposte.net> <nader.akhres at laposte.net 
> <mailto:nader.akhres at laposte.net>> wrote:
>
>     Hi,
>
>     is it possible to set proxy to use before downloading with cmake?
>
>
>     file(DOWNLOAD url file [TIMEOUT timeout] [STATUS status] [LOG log])
>
>     Nad
>
>
>
>         > Message du 11/03/10 10:28
>         > De : cmake-request at cmake.org <mailto:cmake-request at cmake.org>
>         > A : cmake at cmake.org <mailto:cmake at cmake.org>
>         > Copie à :
>         > Objet : CMake Digest, Vol 71, Issue 49
>         >
>         > Send CMake mailing list submissions to
>         > cmake at cmake.org <mailto:cmake at cmake.org>
>         >
>         > To subscribe or unsubscribe via the World Wide Web, visit
>         > http://www.cmake.org/mailman/listinfo/cmake
>         > or, via email, send a message with subject or body 'help' to
>         > cmake-request at cmake.org <mailto:cmake-request at cmake.org>
>         >
>         > You can reach the person managing the list at
>         > cmake-owner at cmake.org <mailto:cmake-owner at cmake.org>
>         >
>         > When replying, please edit your Subject line so it is more
>         specific
>         > than "Re: Contents of CMake digest..."
>         > >
>         > [ Today's Topics (7 messages) (0.5 Ko) ]
>         > [ Digest Footer (0.1 Ko) ]
>         > [ Re: [CMake] adding same subdirectory multiple times. (5.3
>         Ko) ]
>
>
>
>     Pieddemail <http://www.laposte.net/rallye-des-gazelles>
>     _______________________________________________
>     Powered by www.kitware.com <http://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
>
>
>
>
> -- 
> Philip Lowman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100312/a7d1c2de/attachment.htm>


More information about the CMake mailing list