set proxy with cmake file download

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

set proxy with cmake file download

AKHRES Nader

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 : [hidden email]
> A : [hidden email]
> Copie à :
> Objet : CMake Digest, Vol 71, Issue 49
>
> Send CMake mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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
_______________________________________________
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 | Threaded
Open this post in threaded view
|

Re: set proxy with cmake file download

Philip Lowman
Have you tried setting the http_proxy environment variable?
export http_proxy="http://host:port"

On Thu, Mar 11, 2010 at 7:47 AM, [hidden email] <[hidden email]> 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 : [hidden email]
> A : [hidden email]
> Copie à :
> Objet : CMake Digest, Vol 71, Issue 49
>
> Send CMake mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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
_______________________________________________
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



--
Philip Lowman

_______________________________________________
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 | Threaded
Open this post in threaded view
|

Re: set proxy with cmake file download

AKHRES Nader
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, [hidden email] <[hidden email]> 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 : [hidden email]
> A : [hidden email]
> Copie à :
> Objet : CMake Digest, Vol 71, Issue 49
>
> Send CMake mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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
_______________________________________________
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



--
Philip Lowman


_______________________________________________
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 | Threaded
Open this post in threaded view
|

Re: set proxy with cmake file download

Eric Noulard
2010/3/12 AKHRES Nader <[hidden email]>
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

I don't know the default behavior of curl lib on Windows but the CTest source code
do use HTTP_PROXY (upper case) env var on any platform.

It looks like the CMake source code does not use it so either the default behavior
of curl lib is enough or it's worth a feature request may be for unifiying the behavior
of CTest/CMake concerning proxy handling.


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, [hidden email] <[hidden email]> wrote:
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org


_______________________________________________
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 | Threaded
Open this post in threaded view
|

Re: set proxy with cmake file download

Bill Hoffman
Eric Noulard wrote:

> 2010/3/12 AKHRES Nader <[hidden email]
> <mailto:[hidden email]>>
>
>     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
>
>
> I don't know the default behavior of curl lib on Windows but the CTest
> source code
> do use HTTP_PROXY (upper case) env var on any platform.

Since we use curl, the lower case version also works.  The code that
uses the upper case was actually for an older version of curl, I think...

Anyway, for me both upper and lower case versions work for me on windows.


-Bill

_______________________________________________
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