LabSSH2-SuperBuild is a Cmake Super Build for the LabSSH2-C project. The LabSSH2-C project is dependent on the OpenSSL project and requires numerous flags and options to be set to specific values to build correctly. This project provides an automated build process using CMake and the ExternalProject module.
Using this project to build the labssh2 shared library will automatically download, configure, and build the correct version of the OpenSSL project and LabSSH2-C. It will take some time to complete as the OpenSSL project is fairly large. When the entire build is completed, the labssh2
shared library, either labssh2.dll
, labssh2.dylib
, or labssh2.so
, will be available in the bin
folder of the root build folder.
Ensure all of the following dependencies are installed before proceeding:
- CMake 3.10.x, or newer
- Microsoft Visual C++ Build Tools 2017, Windows Only
- XCode Command Line Tools, macOS Only
- Git
- ActivePerl, Windows only
$ git clone https://github.com/fieldrndservices/labssh2-superbuild.git LabSSH2-SuperBuild && cd $_
$ ./build.sh
or
$ git clone https://github.com/fieldrndservices/labssh2-superbuild.git
$ cd labssh2-superbuild
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build . --config Release
The LabSSH2-SuperBuild project is licensed under the revised BSD 3-Clause license. See the LICENSE.