Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
fa059927
Commit
fa059927
authored
Apr 27, 2016
by
Branislav Katreniak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: improve comments
parent
33718432
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
CMakeLists.txt
c++/CMakeLists.txt
+1
-0
CapnProtoConfig.cmake.in
c++/cmake/CapnProtoConfig.cmake.in
+4
-3
CapnProtoMacros.cmake
c++/cmake/CapnProtoMacros.cmake
+3
-3
No files found.
c++/CMakeLists.txt
View file @
fa059927
...
...
@@ -56,6 +56,7 @@ endif()
if
(
CAPNP_LITE
)
set
(
CAPNP_LITE_FLAG
"-DCAPNP_LITE"
)
# This flag is attached as PUBLIC target_compile_definition to kj target
else
()
set
(
CAPNP_LITE_FLAG
)
endif
()
...
...
c++/cmake/CapnProtoConfig.cmake.in
View file @
fa059927
# 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
CapnProto::capnp-rpc
)
# target_link_libraries(foo CapnProto::capnp)
#
# If you are using
not using the RPC features you can remove
#
'CapnProto::capnp-rpc' from the target_link_libraries call
# If you are using
RPC features, use 'CapnProto::capnp-rpc'
#
in target_link_libraries call.
#
@PACKAGE_INIT@
...
...
c++/cmake/CapnProtoMacros.cmake
View file @
fa059927
...
...
@@ -5,10 +5,10 @@
# 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)
# target_link_libraries(foo CapnProto::capnp
-rpc
)
#
# If you are using not using the RPC features you can
remov
e
# 'CapnProto::capnp
-rpc' from the
target_link_libraries call
# If you are using not using the RPC features you can
us
e
# 'CapnProto::capnp
' in
target_link_libraries call
#
# Configuration variables (optional):
# CAPNPC_OUTPUT_DIR
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment