1. 10 Apr, 2017 1 commit
    • Kenton Varda's avatar
      Move a couple things from libkj-test into libkj proper. · ca7304b5
      Kenton Varda authored
      This allows functions which use KJ_EXPECT and other test macros to be built without linking libkj-test, which pulls in a possibly-unwanted main() function.
      
      In particular, afl-testcase.c++ could not link in -fno-exceptions mode without this change.
      ca7304b5
  2. 24 Jan, 2017 2 commits
  3. 23 Jan, 2017 1 commit
  4. 22 Jan, 2017 1 commit
  5. 29 Jul, 2016 1 commit
    • Vitali Lovich's avatar
      Fix build compatability with Android · cbacb180
      Vitali Lovich authored
      Add missing include when building on Linux
      
      Discovered trying to build on Android using CMake.  UIO_MAXIOV is only
      exported by the linux/uio.h header which was never included.  Not sure
      how normal Linux builds work.
      
      Add missing reinterpret cast from const void* to const byte*.
      
      Remove -pthread compile flag when building under Android.  ANDROID cmake
      variable exported by android-cmake project.
      cbacb180
  6. 20 May, 2016 1 commit
  7. 19 Apr, 2016 3 commits
  8. 11 Apr, 2016 2 commits
    • Alex Richardson's avatar
      7ca97fc0
    • Alex Richardson's avatar
      Add a cmake package config module · f7d685be
      Alex Richardson authored
      This makes it a lot easier for CMake based projects to use Cap'n Proto.
      
      Example usage:
      
      find_package(CapnProto)
      capnp_generate_cpp(FOO_SRCS FOO_HDRS foo.capnp)
      add_executable(foo main.cpp ${FOO_SRCS})
      target_link_libraries(foo CapnProto::capnp CapnProto::capnp-rpc)
      
      This is a lot better than the previous variable based solution since
      linking to nonexistent targets is an error whereas an empty variable
      expansion (e.g. due to typos) will be silently ignored. It also makes
      sure that the right compiler flags, include directories, defines and
      link libraries are passed to the compiler for that target without
      needing any other include_directories(), etc.
      f7d685be
  9. 01 Jan, 2015 1 commit
  10. 30 Dec, 2014 1 commit
  11. 30 Nov, 2014 1 commit
  12. 23 Nov, 2014 2 commits
  13. 14 Nov, 2014 1 commit
  14. 29 Oct, 2014 2 commits