Skip to content
Snippets Groups Projects
  1. Jul 05, 2020
  2. 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
  3. 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
  4. Apr 02, 2020
  5. Mar 27, 2020
  6. Nov 07, 2019
  7. Oct 24, 2019
  8. Oct 14, 2019
  9. Aug 25, 2019
  10. Jun 14, 2019
    • Daan De Meyer's avatar
      CMake improvements. · 4e955731
      Daan De Meyer authored
      - Allow specifying shared or static with BUILD_SHARED_LIBS.
      - Add include directories as PUBLIC to library targets.
      
      This enables using ngtcp2 with CMake `add_subdirectory`.
      4e955731
  11. Mar 25, 2019
  12. Feb 19, 2019
  13. Jan 19, 2018
  14. 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