An error occurred fetching the project authors.
  1. 13 Mar, 2016 4 commits
    • Peter Wu's avatar
      cmake: fix jemalloc, libevent include dirs · dad222b8
      Peter Wu authored
      Caught with cmake --warn-uninitialized.
      dad222b8
    • Peter Wu's avatar
      cmake: fix version checks for external packages · 2b3bc710
      Peter Wu authored
      The name passed to find_package should match the one that is passed to
      find_package_handle_standard_args, otherwise the version matching is not
      properly done. The names are based on the FindXXX.cmake filename.
      
      This also simplifies components reporting for Libevent (done by
      find_package_handle_standard_args) and results in reporting a library
      instead of include directory when found.
      2b3bc710
    • Peter Wu's avatar
      Lower libev version requirement · a45540fd
      Peter Wu authored
      libev 4.11 seems to build fine as demonstrated by Travis with autotools.
      a45540fd
    • Peter Wu's avatar
      cmake: fix compatibility with cmake before 3.3 · 7f811060
      Peter Wu authored
      The COMPILE_LANGUAGE generator expression is only supported since CMake
      3.3. Moreover, it does not work with all generators (works with Makefile
      and Ninja, but not with Visual Studio).
      
      target_compile_options would only work if a target does not mix C and
      C++ sources, since the flags are intended to be set for a specific
      language, use set_source_files_properties instead. This approach is also
      less repetitive.
      
      Drop the idea of using lists and COMPILE_OPTIONS,
      set_source_files_properties only understands COMPILE_FLAGS (a single
      string, not a list).
      7f811060
  2. 12 Mar, 2016 1 commit
  3. 11 Mar, 2016 1 commit
  4. 29 Feb, 2016 4 commits
  5. 18 Feb, 2016 1 commit
    • Peter Wu's avatar
      cmake: rename nghttpx-bin target to nghttpx · 9c874bf9
      Peter Wu authored
      `ninja nghttpx` would create the static library, but I expected a binary
      `nghttpx` instead. Rename the nghttpx target to nghttpx_static and
      nghttpx-bin to nghttpx.
      9c874bf9
  6. 16 Feb, 2016 8 commits
  7. 15 Feb, 2016 5 commits
    • Peter Wu's avatar
      cmake: add mruby support, fix tests dir · f407f7f4
      Peter Wu authored
      mruby is always invoked now (mirrors the autotools behavior). It could
      be optimized though to only trigger the mruby build when the static
      library is missing.
      
      Also fix typo in NGHTTP2_TESTS_DIR macro definition (detected when
      invoking the Ninja generator).
      f407f7f4
    • Peter Wu's avatar
      cmake: add neverbleed support · 474ecc4b
      Peter Wu authored
      474ecc4b
    • Peter Wu's avatar
      cmake: fix compilation in lib · 0afc21c9
      Peter Wu authored
      Need to add -fPIC to objects that will be put in a shared library.
      0afc21c9
    • Peter Wu's avatar
      cmake: process tests directory · 8c46d918
      Peter Wu authored
      Split the nghttp2 library into objects and a shared library from those
      objects. This is needed because of symbol visibility. An advantage over
      the autotools build is that there are no worries about static versus
      static library builds.
      
      Test:
      
          cmake $srcdir
          make nghttpx-unittest main failmalloc
          make test
      8c46d918
    • Peter Wu's avatar
      cmake: add auto-detection, improve library search · cc92ebf4
      Peter Wu authored
      Add auto-detection to the most important features (app, hpack, etc.).
      Move options to a separate file for easier search.
      
      Add cmake-based Libevent, jansson and CUnit search. Move pkg-config
      handling for Libev and jemalloc to their cmake files.
      
      Note: duplicates find_package before including CMakeOptions.txt and when
      checking for features. Maybe that can be cleaned up later...
      cc92ebf4
  8. 14 Feb, 2016 1 commit
    • Peter Wu's avatar
      cmake: improve final variable list · c96cf1b3
      Peter Wu authored
      Remove build/host/target by a single target system name (CMake is
      different for cross-compiling, you are suggested to set
      CMAKE_TOOLCHAIN_FILE).
      
      Fix various library variables, remove CFLAGS (INCLUDE_DIRS could be used
      instead though, but I consider that minor information that could be
      added later if wanted).
      
      Fix various variable names (prefix, boost, etc.).
      c96cf1b3
  9. 13 Feb, 2016 15 commits