Re: [CMake] Cmake fails to build libssh2 - wants VC 2010 told for VC 2015 build

2016-03-19 Thread Elizabeth Fischer
Just get the tarball from: https://github.com/libssh2/libssh2/tarball/libssh2-1.7.0 On Tue, Mar 15, 2016 at 7:50 AM, Barry Scott wrote: > On Tue, 15 Mar 2016 10:37:04 +0300 > Sergei Nikulov wrote: > > > Just checked with following steps > > > > 1. Opened command window (cmd.exe) > > 2. Clone

Re: [CMake] Help for a cmake newbie

2016-01-30 Thread Elizabeth Fischer
I generally use one CMake build for compiling a single project. Your dependencies should be built separately from your main program. Ways to do this: 1. Try EasyBuild or Spack. The only reason I wouldn't recommend them is I'm not sure if they've ever been run on Windows. But that doesn't mean

[CMake] CMAKE_INSTALL_RPATH_USE_LINK_PATH is broken?

2016-01-08 Thread Elizabeth Fischer
Hello, I'm using cmake 3.4.1. I'm trying to compile libraries & executables with an RPATH. To that end, I use the following settings: SET(CMAKE_SKIP_BUILD_RPATH FALSE) SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) I then link in a lot of libraries. Ho