- May 08, 2020
-
-
Peter Wu authored
Prior to commit 4e955731, ngtcp2 was built as shared library. That has changed into a static or shared library depending on the BUILD_SHARED_LIBS option, but this option was not documented and the comments were misleading. Rectify both issues. Note that autotools builds both libraries by default, but the current CMake config is only able to build one of them.
-
- May 05, 2020
-
-
Peter Wu authored
Until mainline support of QUIC are present in OpenSSL and GnuTLS, be sure to test whether the found library versions are the patched ones since the version number check is insufficient. This fixes the default build on a system where a new GnuTLS is present without the patches from the GnuTLS tmp-quic branch. Add new ENABLE_OPENSSL and ENABLE_GNUTLS CMake options to allow explicitly disabling these libraries to mirror the --without-openssl and the --without-gnutls functionality of autotools. Partially addresses https://github.com/ngtcp2/ngtcp2/issues/238
-
- Oct 22, 2017
-
-
Peter Wu authored
-
Peter Wu authored
Based on nghttp2 cmake build system. Advantage of this is a faster build (cmake runs faster than configure and ninja is faster than make). Changes from autotools: * Warnings are enabled by default (independent of ENABLE_WERROR). * ENABLE_WERROR has changed meaning (it just controls -Werror). * include/ngtcp2/{version,ngtcp2}.h header files are installed.
-