- 10 Apr, 2017 1 commit
-
-
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.
-
- 24 Jan, 2017 2 commits
-
-
Harris Hancock authored
-
Harris Hancock authored
Disallow MSVC from building the parsing code by default because the latest stable MSVC (VS2015 Update 3) ICEs when trying to compile the `anyOfChars` combinator. Note that VS2015 Update 2 and VS2017 can compile the parsing code, with a little help. To experiment with this, you can override the default behavior with -DCAPNP_BUILD_TOOLS=ON.
-
- 23 Jan, 2017 1 commit
-
-
Kenton Varda authored
-
- 22 Jan, 2017 1 commit
-
-
Kenton Varda authored
Rename async-io.c++ to async-io-unix.c++, in preparation for factoring out common bits from async-io-win32.c++.
-
- 29 Jul, 2016 1 commit
-
-
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.
-
- 20 May, 2016 1 commit
-
-
Gordon McShane authored
-
- 19 Apr, 2016 3 commits
-
-
Branislav Katreniak authored
This allows to consumers to use the same targets regardless whether capnproto CMakeList.txt is added as subdirectory or whether capnproto is found as package
-
Branislav Katreniak authored
Consumers of non-installed build directory don't have to manually set include dirs.
-
Alex Richardson authored
This fixes the lib vs lib64 vs lib32 issue when installing Other problem with cached BIN_INSTALL_DIR, LIB_INSTALL_DIR, etc options is that changing official CMAKE_INSTALL_PREFIX variable has no effect.
-
- 11 Apr, 2016 2 commits
-
-
Alex Richardson authored
-
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.
-
- 01 Jan, 2015 1 commit
-
-
Kenton Varda authored
-
- 30 Dec, 2014 1 commit
-
-
Kenton Varda authored
A compatibility layer is provided to ease migration.
-
- 30 Nov, 2014 1 commit
-
-
Philip Quinn authored
-
- 23 Nov, 2014 2 commits
-
-
Kenton Varda authored
-
Kenton Varda authored
Thanks to Bryan Boreham <bjboreham@gmail.com> for much help getting this started.
-
- 14 Nov, 2014 1 commit
-
-
Scott Purdy authored
-
- 29 Oct, 2014 2 commits
-
-
Philip Quinn authored
-
Philip Quinn authored
With CAPNP_LITE=1, the command-line tools will not be built, and the tests cannot be built without EXTERNAL_CAPNP=1 (BUILD_TESTING=0 needs to be set if the tests are not desired).
-