I have libssh 0.8.2 and cmake 3.12.2.
The build is done successfully by using generate option in cmake. There is no ssh.lib file generated after this process by cmake, but and some files (ALL_BUILd, INSTALL,ssh_shared,ZERO_CHECK) were generated.
Hence I clicked on the 'open project' option in cmake after successful generation of cmake. While compiling the files in visual studio c++, it is showing two errors No such file or directory
and:
Severity Code Description Project File Line Suppression State
Error MSB3073 The command "setlocal
"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets 133