Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Windows 上成功创建了 libssh2.dll,但它是 64 位的。如何做同样的事情来生产 32 位 libssh2.dll ?
以下将 libssh2 编译为 32 位 dll:
cmake -G "Visual Studio 16 2019" -A Win32 -DCRYPTO_BACKEND=WinCNG -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./dll32 --build . cmake --build . --target install