[CMake] file(UPLOAD what does it support?

Bill Hoffman bill.hoffman at kitware.com
Wed Oct 22 18:11:27 EDT 2014


On 10/22/2014 4:09 PM, jmerkow wrote:
> So Im most likely out of luck, unless I want to compile cmake myself with
> those flags on...
> Is there anyway to know which protocols will work with the standard cmake
> packages? Besides systematically trying each one... Basically we have a
> linux machine that we want to put nightly files on after ctest, its doesn't
> have http or ftp.
>
> I can try to work something out with execute_process and use scp, and find a
> decent scp for windows.
OK, I took a look.  For this to work the CMakeLists.txt code in 
Utilities/cmcurl/CMakeLists.txt needs to be updated to support 
USE_LIBSSH2.  Then we need to get a version of libssh2 built on our 
windows build machine so that future releases of CMake have libssh2 
support in them.  If you were to make the correct modifications to the 
CMakeLists.txt file and test and build CMake with a libssh2 on Windows, 
I would be willing to get this into the CMake release process.

Right now CMake only links against openssl.  So, https works, but not sftp.

-Bill



More information about the CMake mailing list