c:build:build-libssh2-statically-on-windows-vs2017
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
c:build:build-libssh2-statically-on-windows-vs2017 [2020/06/30 01:17] – [Win32 static debug build with openssl and zlib support] odefta | c:build:build-libssh2-statically-on-windows-vs2017 [2020/06/30 01:24] – odefta | ||
---|---|---|---|
Line 8: | Line 8: | ||
cd D:\libssh2 \\ \\ | cd D:\libssh2 \\ \\ | ||
mkdir out \\ \\ | mkdir out \\ \\ | ||
+ | |||
+ | < | ||
cmake -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=D:/ | cmake -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=D:/ | ||
+ | </ | ||
< | < | ||
Line 35: | Line 38: | ||
</ | </ | ||
+ | < | ||
cmake --build . --target install | cmake --build . --target install | ||
+ | </ | ||
< | < | ||
Line 256: | Line 261: | ||
{{: | {{: | ||
+ | ===== Win32 static release build with openssl and zlib support ===== | ||
+ | |||
+ | < | ||
+ | cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=D:/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363. | ||
+ | -- The following features have been enabled: | ||
+ | |||
+ | * Compression, | ||
+ | * diffie-hellman-group-exchange-sha1, | ||
+ | * Logging, Logging of execution with debug trace | ||
+ | |||
+ | -- The following REQUIRED packages have been found: | ||
+ | |||
+ | * OpenSSL | ||
+ | * ZLIB | ||
+ | |||
+ | -- The following features have been disabled: | ||
+ | |||
+ | * Shared library, creating libssh2 as a shared library (.so/.dll) | ||
+ | * " | ||
+ | * " | ||
+ | |||
+ | -- Configuring done | ||
+ | -- Generating done | ||
+ | -- Build files have been written to: D:/libssh2 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | cmake --build . --target install | ||
+ | </ | ||
c/build/build-libssh2-statically-on-windows-vs2017.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1