Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread Bill Hoffman
On 10/22/2014 9:41 PM, jmerkow wrote: Sure. I can take this on. Looks like the ifdefs are there and the cmakedefines are all setup Yup, it is part of curl, just not part of the way we build curl at the moment. I believe that libssh2 is standard on linux and osx. What about windows is it e

Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread jmerkow
Sure. I can take this on. Looks like the ifdefs are there and the cmakedefines are all setup I believe that libssh2 is standard on linux and osx. What about windows is it even available on windows? -Jameson -- View this message in context: http://cmake.3232098.n2.nabble.com/file-UPLOAD-w

[CMake] [CPACK] [RPM] Support of %preun and %postun

2014-10-22 Thread Luc J. Bourhis
Am I missing something or there is no equivalent of CPACK_RPM_PRE_INSTALL_SCRIPT_FILE to specify %preun or %postun? - -- Luc J. Bourhis -- View this message in context: http://cmake.3232098.n2.nabble.com/CPACK-RPM-Support-of-preun-and-postun-tp7588790.html Sent from the CMake mailing list

Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread Bill Hoffman
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

Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread jmerkow
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 ctes

Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread Nils Gladitz
On 22.10.2014 19:56, jmerkow wrote: The status is STATUS 1;"unsupported protocol" SFTP is definitely supported by cURL. cURL has external library dependencies to support some of the protocols. For https for example OpenSSL can be used; which is sometimes forgotten in custom cmake builds since

Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread jmerkow
I have tried this on linux using 2.8.12, and on windows 7 with 3.0.2. Both pre-built from http://cmake.org/ Both give the same error. -Jameson -- View this message in context: http://cmake.3232098.n2.nabble.com/file-UPLOAD-what-does-it-support-tp7588715p7588786.html Sent from the CMake mailing

Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread David Cole via CMake
What version of CMake are you using? And on what platform? And did you build it yourself, or are you using pre-built binaries from somewhere? On Wed, Oct 22, 2014 at 1:56 PM, jmerkow wrote: > Sorry for the delayed response. > > Im trying to use sftp. > > To test it out, I am doing something like

Re: [CMake] Is this the proper way to define a package config?

2014-10-22 Thread Robert Dailey
Can anyone help me with this? It would be much appreciated. Thank you. On Fri, Oct 17, 2014 at 12:18 AM, Robert Dailey wrote: > I have a local package of boost built on Windows. It is always > relative to the root of my project at a consistent structure and > location. I wanted to define an impor

Re: [CMake] file(UPLOAD what does it support?

2014-10-22 Thread jmerkow
Sorry for the delayed response. Im trying to use sftp. To test it out, I am doing something like: file(WRITE upload.txt "testing upload") file(UPLOAD upload.txt sftp://user:pass@server:/path/on/server STATUS status SHOW_PROGRESS) message("STATUS ${status}") The status is STATUS 1;"unsupported

[CMake] Invoking genassym from cmake

2014-10-22 Thread Emmanuel Blot
Hi, I'd like to call genassym from cmake. >From FreeBSD man page: sh genassym.sh [-c] C compiler invocation I do not really get how to perform such a task from CMake, as the "C compiler invokation" string is similar to what is defined with the (as retrieved from the CMAKE_C_COMPILE_OBJECT

[CMake] CPack NSIS installer no desktop icon, so don't prompt to install one

2014-10-22 Thread Richard Shaw
I'm packaging a library using the NSIS CPack installer and it does not have any executables which require start menu links so needless to say I don't need any desktop links. I do want the end user to have the ability to add the location to the path so I have that enabled but it includes a check bo

Re: [CMake] [CPack] RPM generator creates %dir for /usr/local/xxx

2014-10-22 Thread Eric Noulard
2014-10-22 13:20 GMT+02:00 Bill Somerville : > On 22/10/2014 12:14, Luc J. Bourhis wrote: > > Hi Luc, > >> With >> >> install(FILES x DESTINATION /usr/local/bin) >> >> CPack 2.8.12 generates a specs file featuring >> >> %dir "/usr/local" >> %dir "/usr/local/bin" >> >> Then rpm -i the generated

Re: [CMake] [CPack] RPM generator creates %dir for /usr/local/xxx

2014-10-22 Thread Bill Somerville
On 22/10/2014 12:14, Luc J. Bourhis wrote: Hi Luc, With install(FILES x DESTINATION /usr/local/bin) CPack 2.8.12 generates a specs file featuring %dir "/usr/local" %dir "/usr/local/bin" Then rpm -i the generated rpm file fails on Fedora 20 with file /usr/local from install of si

[CMake] [CPack] RPM generator creates %dir for /usr/local/xxx

2014-10-22 Thread Luc J. Bourhis
With install(FILES x DESTINATION /usr/local/bin) CPack 2.8.12 generates a specs file featuring %dir "/usr/local" %dir "/usr/local/bin" Then rpm -i the generated rpm file fails on Fedora 20 with file /usr/local from install of simple-install-in-usr-local-bin-0.1.1-1.i686 conflicts