• Harris Hancock's avatar
    Leave CAPNP{,C_CXX}_EXECUTABLE unset if tools aren't built · d3095dd6
    Harris Hancock authored
    When building Cap'n Proto with compilers which can't yet build the command
    line tools (MSVC), the exported targets capnp_tool and capnpc_cpp don't
    exist, thus attempting to use them in a generator expression when setting
    CAPNP_EXECUTABLE and CAPNPC_CXX_EXECUTABLE causes a hard error.
    
    Leaving the variables unset provides users the opportunity to set
    CAPNP_EXECUTABLE and CAPNPC_CXX_EXECUTABLE manually in CMake projects
    consuming Cap'n Proto as a CMake package, and produces a less mystifying
    error message if the user forgets.
    
    Thanks to Philip Quinn for advice on this issue.
    d3095dd6
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...