Skip to content
Snippets Groups Projects
  1. May 08, 2020
    • Peter Wu's avatar
      CMake: add BUILD_SHARED_LIBS option · af225b59
      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.
      af225b59
  2. May 05, 2020
    • Peter Wu's avatar
      Fix detection of proper OpenSSL and GnuTLS libraries · 92d05495
      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
      92d05495
  3. Oct 22, 2017
    • Peter Wu's avatar
      Add --enable-asan/ENABLE_ASAN options · 6dfe4979
      Peter Wu authored
      6dfe4979
    • Peter Wu's avatar
      Add CMake build system support · a671f091
      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.
      a671f091