Commit a290d13a authored by Branislav Katreniak's avatar Branislav Katreniak

cmake: improve documentation for CAPNP_GENERATE_CPP

parent 945ec815
......@@ -3,6 +3,7 @@
# Example usage:
# find_package(CapnProto)
# capnp_generate_cpp(CAPNP_SRCS CAPNP_HDRS schema.capnp)
# include_directories(${CMAKE_CURRENT_BINARY_DIR})
# add_executable(foo main.cpp ${CAPNP_SRCS})
# target_link_libraries(foo CapnProto::capnp)
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment