Skip to content

how to build on windows with openssl and nghttp3? #13701

Closed Answered by jzakrzewski
peguine asked this question in Q&A
Discussion options

You must be logged in to vote

I literally use this:

set PREFIX_DIR=D:/local/%PLATFORM%-%FLAVOUR%
 
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=%FLAVOUR% -DCMAKE_PREFIX_PATH:PATH=%PREFIX_DIR% -DCMAKE_INSTALL_PREFIX:PATH=%PREFIX_DIR% -DBUILD_TESTING:BOOL=OFF -DUSE_WINDOWS_SSPI=ON  -DCURL_USE_OPENSSL=ON -DUSE_NGHTTP2=ON -DCURL_DISABLE_SOCKETPAIR=ON ../curl-%VERSION%
cmake --build . --target install

run from the appropriate Visual Studio developer prompt.
All my dependencies are nicely installed under %PREFIX_DIR%, but some . You may want to get rid of some options ;)

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@peguine
Comment options

@bagder
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jzakrzewski
Comment options

Answer selected by bagder
@jshanab
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
build Windows Windows-specific HTTP/3 h3 or quic related
4 participants