mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-12 11:10:28 +09:00
doc: Add more infor about Windows binaries.
This commit is contained in:
19
INSTALL
19
INSTALL
@@ -18,12 +18,18 @@ optional:
|
|||||||
Note that these version numbers are version we know works correctly. If you
|
Note that these version numbers are version we know works correctly. If you
|
||||||
build and run libssh successfully with an older version, please let us know.
|
build and run libssh successfully with an older version, please let us know.
|
||||||
|
|
||||||
|
Windows binaries known to be working:
|
||||||
|
|
||||||
|
- http://www.slproweb.com/products/Win32OpenSSL.html
|
||||||
|
- http://www.winimage.com/zLibDll/index.html
|
||||||
|
|
||||||
|
We installed them in C:\Program Files
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
First, you need to configure the compilation, using CMake. Go inside the
|
First, you need to configure the compilation, using CMake. Go inside the
|
||||||
`build` dir. Create it if it doesn't exist.
|
`build` dir. Create it if it doesn't exist.
|
||||||
|
|
||||||
GNU/Linux and MacOS X:
|
GNU/Linux, MacOS X, MSYS/MinGW:
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
make
|
make
|
||||||
@@ -59,6 +65,17 @@ and MacOS X).
|
|||||||
- On Windows: run `cmakesetup`
|
- On Windows: run `cmakesetup`
|
||||||
- On GNU/Linux and MacOS X: run `ccmake ..`
|
- On GNU/Linux and MacOS X: run `ccmake ..`
|
||||||
|
|
||||||
|
### Useful Windows options:
|
||||||
|
|
||||||
|
If you have installed OpenSSL or ZLIB in non standard directories, maybe you
|
||||||
|
want to set:
|
||||||
|
|
||||||
|
OPENSSL_ROOT_DIR
|
||||||
|
|
||||||
|
and
|
||||||
|
|
||||||
|
ZLIB_ROOT_DIR
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
If you want to install libssh after compilation run:
|
If you want to install libssh after compilation run:
|
||||||
|
|||||||
Reference in New Issue
Block a user