Add CMake build system support
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.
Showing
- CMakeLists.txt 242 additions, 0 deletionsCMakeLists.txt
- CMakeOptions.txt 6 additions, 0 deletionsCMakeOptions.txt
- cmake/ExtractValidFlags.cmake 31 additions, 0 deletionscmake/ExtractValidFlags.cmake
- cmake/FindCUnit.cmake 40 additions, 0 deletionscmake/FindCUnit.cmake
- cmake/FindLibev.cmake 38 additions, 0 deletionscmake/FindLibev.cmake
- cmake/Version.cmake 11 additions, 0 deletionscmake/Version.cmake
- cmakeconfig.h.in 24 additions, 0 deletionscmakeconfig.h.in
- examples/CMakeLists.txt 75 additions, 0 deletionsexamples/CMakeLists.txt
- lib/CMakeLists.txt 80 additions, 0 deletionslib/CMakeLists.txt
- lib/includes/CMakeLists.txt 4 additions, 0 deletionslib/includes/CMakeLists.txt
- tests/CMakeLists.txt 61 additions, 0 deletionstests/CMakeLists.txt
- third-party/CMakeLists.txt 30 additions, 0 deletionsthird-party/CMakeLists.txt
Please register or sign in to comment