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
e709a2ec
Commit
e709a2ec
authored
Oct 14, 2014
by
Joshua Warner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hyphenate cmake target names
parent
fcb60c30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
CMakeLists.txt
c++/src/CMakeLists.txt
+8
-7
No files found.
c++/src/CMakeLists.txt
View file @
e709a2ec
...
...
@@ -23,7 +23,7 @@ add_library(kj
kj/parse/char.c++
)
add_library
(
kj
_
async
add_library
(
kj
-
async
kj/async.c++
kj/async-unix.c++
kj/async-io.c++
...
...
@@ -46,7 +46,7 @@ add_library(capnp
capnp/serialize-packed.c++
)
add_library
(
capnp
_
rpc
add_library
(
capnp
-
rpc
capnp/serialize-async.c++
capnp/capability.c++
capnp/dynamic-capability.c++
...
...
@@ -78,6 +78,7 @@ target_link_libraries(capnp-tool capnpc capnp kj)
add_executable
(
capnpc-c++
capnp/compiler/capnpc-c++.c++
)
get_property
(
capnpc-c++_location TARGET capnpc-c++ PROPERTY LOCATION
)
target_link_libraries
(
capnpc-c++ capnp kj
)
set
(
test_capnp_files
...
...
@@ -105,7 +106,7 @@ add_custom_command(
${
test_capnp_cpp_files
}
${
test_capnp_header_files
}
COMMAND capnp-tool compile
-o $
<TARGET_FILE:capnpc-c++>
-o
$
{
capnpc-c++_location
}
--src-prefix=
${
CMAKE_CURRENT_SOURCE_DIR
}
-I
${
CMAKE_CURRENT_SOURCE_DIR
}
${
test_capnp_capnp_files
}
...
...
@@ -164,9 +165,9 @@ add_executable(capnp-tests
target_link_libraries
(
capnp-tests
capnp_test_lib
capnpc
capnp
_
rpc
capnp
-
rpc
capnp
kj
_
async
kj
-
async
kj
gtest
gtest_main
...
...
@@ -176,9 +177,9 @@ add_executable(capnp-evolution-tests capnp/compiler/evolution-test.c++)
target_link_libraries
(
capnp-evolution-tests
capnp_test_lib
capnpc
capnp
_
rpc
capnp
-
rpc
capnp
kj
_
async
kj
-
async
kj
gtest
gtest_main
...
...
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