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
9834470d
Commit
9834470d
authored
Oct 15, 2014
by
Joshua Warner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fix for older cmake versions
parent
7f64b969
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
c++/src/CMakeLists.txt
+5
-5
No files found.
c++/src/CMakeLists.txt
View file @
9834470d
...
...
@@ -76,11 +76,11 @@ add_executable(capnp-tool
target_link_libraries
(
capnp-tool capnpc capnp kj
)
set_target_properties
(
capnp-tool PROPERTIES OUTPUT_NAME capnp
)
add_executable
(
capnpc_c
++
add_executable
(
capnpc_c
pp
capnp/compiler/capnpc-c++.c++
)
target_link_libraries
(
capnpc_c
++
capnp kj
)
set_target_properties
(
capnpc_c
++
PROPERTIES OUTPUT_NAME capnpc-c++
)
target_link_libraries
(
capnpc_c
pp
capnp kj
)
set_target_properties
(
capnpc_c
pp
PROPERTIES OUTPUT_NAME capnpc-c++
)
set
(
test_capnp_files
capnp/test.capnp
...
...
@@ -107,11 +107,11 @@ add_custom_command(
${
test_capnp_cpp_files
}
${
test_capnp_header_files
}
COMMAND capnp-tool compile
-o $<TARGET_FILE:capnpc_c
++
>
-o $<TARGET_FILE:capnpc_c
pp
>
--src-prefix=
${
CMAKE_CURRENT_SOURCE_DIR
}
-I
${
CMAKE_CURRENT_SOURCE_DIR
}
${
test_capnp_capnp_files
}
DEPENDS capnp-tool capnpc_c
++
${
test_capnp_files
}
)
DEPENDS capnp-tool capnpc_c
pp
${
test_capnp_files
}
)
add_library
(
capnp_test_lib
${
test_capnp_cpp_files
}
)
include_directories
(
${
CMAKE_CURRENT_BINARY_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