• Branislav Katreniak's avatar
    cmake/macros: use in-build capnp tools if capnroto is built in cmake · 71f1fa97
    Branislav Katreniak authored
    If CapnProto is part of cmake build, macro CAPNP_GENERATE_CPP
    uses in-build capnp tools.
    
    This change fixes `make check` target with cmake.
    
    All tests pass except
    1: [ FAIL ] exception-test.c++:30: legacy test:
        Exception/TrimSourceFilename
    1: /home/brano/src/capnproto/c++/src/kj/exception-test.c++:31:
        failed: expected (trimSourceFilename(
        "/home/brano/src/capnproto/c++/src/kj/exception-test.c++"))
        == ("kj/exception-test.c++");
    
    Not sure how to fix the test without disabling it.
    71f1fa97
Name
Last commit
Last update
c++ Loading commit data...
doc Loading commit data...
highlighting Loading commit data...
security-advisories Loading commit data...
.gitignore Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
RELEASE-PROCESS.md Loading commit data...
mega-test-quick.cfg Loading commit data...
mega-test.cfg Loading commit data...
mega-test.py Loading commit data...
release.sh Loading commit data...
style-guide.md Loading commit data...
super-test.sh Loading commit data...