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
8e0686e1
Commit
8e0686e1
authored
Mar 04, 2016
by
Kenton Varda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:kentonv/capnproto
parents
32156ac0
b260dd17
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
5 deletions
+33
-5
CMakeLists.txt
c++/CMakeLists.txt
+6
-0
Makefile.am
c++/Makefile.am
+1
-1
capnp-rpc.pc.in
c++/capnp-rpc.pc.in
+2
-2
capnp.pc.in
c++/capnp.pc.in
+2
-1
configure.ac
c++/configure.ac
+1
-1
kj-async.pc.in
c++/kj-async.pc.in
+11
-0
kj.pc.in
c++/kj.pc.in
+10
-0
No files found.
c++/CMakeLists.txt
View file @
8e0686e1
...
...
@@ -97,10 +97,16 @@ if(NOT MSVC) # Don't install pkg-config files when building with MSVC
set
(
PTHREAD_CFLAGS
"-pthread"
)
set
(
STDLIB_FLAG
)
# TODO: Unsupported
configure_file
(
kj.pc.in
"
${
CMAKE_CURRENT_BINARY_DIR
}
/kj.pc"
@ONLY
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/kj.pc"
DESTINATION
"
${
LIB_INSTALL_DIR
}
/pkgconfig"
)
configure_file
(
capnp.pc.in
"
${
CMAKE_CURRENT_BINARY_DIR
}
/capnp.pc"
@ONLY
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/capnp.pc"
DESTINATION
"
${
LIB_INSTALL_DIR
}
/pkgconfig"
)
if
(
NOT CAPNP_LITE
)
configure_file
(
kj-async.pc.in
"
${
CMAKE_CURRENT_BINARY_DIR
}
/kj-async.pc"
@ONLY
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/kj-async.pc"
DESTINATION
"
${
LIB_INSTALL_DIR
}
/pkgconfig"
)
configure_file
(
capnp-rpc.pc.in
"
${
CMAKE_CURRENT_BINARY_DIR
}
/capnp-rpc.pc"
@ONLY
)
install
(
FILES
"
${
CMAKE_CURRENT_BINARY_DIR
}
/capnp-rpc.pc"
DESTINATION
"
${
LIB_INSTALL_DIR
}
/pkgconfig"
)
endif
()
...
...
c++/Makefile.am
View file @
8e0686e1
...
...
@@ -106,7 +106,7 @@ includekjcompatdir = $(includekjdir)/compat
dist_includecapnp_DATA
=
$(public_capnpc_inputs)
pkgconfigdir
=
$(libdir)
/pkgconfig
pkgconfig_DATA
=
capnp.pc capnp-rpc.pc
pkgconfig_DATA
=
capnp.pc capnp-rpc.pc
kj.pc kj-async.pc
noinst_HEADERS
=
\
src/kj/miniposix.h
...
...
c++/capnp-rpc.pc.in
View file @
8e0686e1
...
...
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: Cap'n Proto RPC
Description: Fast object-oriented RPC system
Version: @VERSION@
Libs: -L${libdir} -lcapnp-rpc
-lkj-async
Requires: capnp = @VERSION@
Libs: -L${libdir} -lcapnp-rpc
Requires: capnp = @VERSION@
kj-async = @VERSION@
Cflags: -I${includedir}
c++/capnp.pc.in
View file @
8e0686e1
...
...
@@ -6,6 +6,7 @@ includedir=@includedir@
Name: Cap'n Proto
Description: Insanely fast serialization system
Version: @VERSION@
Libs: -L${libdir} -lcapnp
-lkj
@PTHREAD_CFLAGS@ @PTHREAD_LIBS@ @STDLIB_FLAG@
Libs: -L${libdir} -lcapnp @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ @STDLIB_FLAG@
Libs.private: @LIBS@
Requires: kj = @VERSION@
Cflags: -I${includedir} @PTHREAD_CFLAGS@ @STDLIB_FLAG@ @CAPNP_LITE_FLAG@
c++/configure.ac
View file @
8e0686e1
...
...
@@ -101,5 +101,5 @@ AC_SUBST([STDLIB_FLAG])
LIBS="$PTHREAD_LIBS $LIBS"
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
AC_CONFIG_FILES([Makefile capnp.pc capnp-rpc.pc])
AC_CONFIG_FILES([Makefile capnp.pc capnp-rpc.pc
kj.pc kj-async.pc
])
AC_OUTPUT
c++/kj-async.pc.in
0 → 100644
View file @
8e0686e1
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: KJ Async Framework Library
Description: Basic utility library called KJ (async part)
Version: @VERSION@
Libs: -L${libdir} -lkj-async @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ @STDLIB_FLAG@
Requires: kj = @VERSION@
Cflags: -I${includedir} @PTHREAD_CFLAGS@ @STDLIB_FLAG@ @CAPNP_LITE_FLAG@
c++/kj.pc.in
0 → 100644
View file @
8e0686e1
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: KJ Framework Library
Description: Basic utility library called KJ
Version: @VERSION@
Libs: -L${libdir} -lkj @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ @STDLIB_FLAG@
Cflags: -I${includedir} @PTHREAD_CFLAGS@ @STDLIB_FLAG@ @CAPNP_LITE_FLAG@
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