• 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
..
cmake Loading commit data...
ekam-provider Loading commit data...
m4 Loading commit data...
samples Loading commit data...
src Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE.txt Loading commit data...
Makefile.am Loading commit data...
Makefile.ekam Loading commit data...
README.txt Loading commit data...
afl-fuzz.sh Loading commit data...
capnp-json.pc.in Loading commit data...
capnp-rpc.pc.in Loading commit data...
capnp.pc.in Loading commit data...
configure.ac Loading commit data...
kj-async.pc.in Loading commit data...
kj.pc.in Loading commit data...
regenerate-bootstraps.sh Loading commit data...
setup-autotools.sh Loading commit data...
setup-ekam.sh Loading commit data...