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
5bd8f541
Commit
5bd8f541
authored
May 29, 2015
by
Fraser Hutchison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed installation of schema files via CMake.
parent
25be62be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
CMakeLists.txt
c++/src/capnp/CMakeLists.txt
+11
-10
No files found.
c++/src/capnp/CMakeLists.txt
View file @
5bd8f541
...
...
@@ -49,11 +49,15 @@ set(capnp_headers
pointer-helpers.h
generated-header-support.h
)
set
(
capnp_schemas
c++.capnp
schema.capnp
)
add_library
(
capnp
${
capnp_sources
}
)
target_link_libraries
(
capnp kj
)
install
(
TARGETS capnp ARCHIVE DESTINATION
"
${
LIB_INSTALL_DIR
}
"
)
install
(
FILES
${
capnp_headers
}
DESTINATION
"
${
INCLUDE_INSTALL_DIR
}
/capnp"
)
install
(
FILES
${
capnp_headers
}
${
capnp_schemas
}
DESTINATION
"
${
INCLUDE_INSTALL_DIR
}
/capnp"
)
set
(
capnp-rpc_sources
serialize-async.c++
...
...
@@ -75,11 +79,16 @@ set(capnp-rpc_headers
persistent.capnp.h
ez-rpc.h
)
set
(
capnp-rpc_schemas
rpc.capnp
rpc-twoparty.capnp
persistent.capnp
)
if
(
NOT CAPNP_LITE
)
add_library
(
capnp-rpc
${
capnp-rpc_sources
}
)
target_link_libraries
(
capnp-rpc kj-async kj
)
install
(
TARGETS capnp-rpc ARCHIVE DESTINATION
"
${
LIB_INSTALL_DIR
}
"
)
install
(
FILES
${
capnp-rpc_headers
}
DESTINATION
"
${
INCLUDE_INSTALL_DIR
}
/capnp"
)
install
(
FILES
${
capnp-rpc_headers
}
${
capnp-rpc_schemas
}
DESTINATION
"
${
INCLUDE_INSTALL_DIR
}
/capnp"
)
endif
()
# Tools/Compilers ==============================================================
...
...
@@ -95,18 +104,10 @@ set(capnpc_sources
compiler/compiler.c++
schema-parser.c++
)
set
(
capnpc_headers
c++.capnp
schema.capnp
rpc.capnp
rpc-twoparty.capnp
persistent.capnp
)
if
(
NOT CAPNP_LITE
)
add_library
(
capnpc
${
capnpc_sources
}
)
target_link_libraries
(
capnpc capnp kj
)
install
(
TARGETS capnpc ARCHIVE DESTINATION
"
${
LIB_INSTALL_DIR
}
"
)
install
(
FILES
${
capnpc_headers
}
DESTINATION
"
${
INCLUDE_INSTALL_DIR
}
/capnp"
)
endif
()
if
(
BUILD_TOOLS AND NOT CAPNP_LITE
)
...
...
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