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
3a02012a
Commit
3a02012a
authored
Nov 14, 2016
by
Harris Hancock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add async-win32 code to CMakeLists.txt
parent
d6d06e54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
CMakeLists.txt
c++/src/kj/CMakeLists.txt
+6
-0
No files found.
c++/src/kj/CMakeLists.txt
View file @
3a02012a
...
@@ -96,6 +96,8 @@ install(FILES ${kj-test-compat_headers} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}
...
@@ -96,6 +96,8 @@ install(FILES ${kj-test-compat_headers} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}
set
(
kj-async_sources
set
(
kj-async_sources
async.c++
async.c++
async-unix.c++
async-unix.c++
async-win32.c++
async-io-win32.c++
async-io.c++
async-io.c++
async-io-unix.c++
async-io-unix.c++
time.c++
time.c++
...
@@ -105,6 +107,7 @@ set(kj-async_headers
...
@@ -105,6 +107,7 @@ set(kj-async_headers
async.h
async.h
async-inl.h
async-inl.h
async-unix.h
async-unix.h
async-win32.h
async-io.h
async-io.h
time.h
time.h
)
)
...
@@ -115,6 +118,8 @@ if(NOT CAPNP_LITE)
...
@@ -115,6 +118,8 @@ if(NOT CAPNP_LITE)
if
(
UNIX
)
if
(
UNIX
)
# external clients of this library need to link to pthreads
# external clients of this library need to link to pthreads
target_compile_options
(
kj-async INTERFACE
"-pthread"
)
target_compile_options
(
kj-async INTERFACE
"-pthread"
)
elseif
(
WIN32
)
target_link_libraries
(
kj-async PUBLIC ws2_32
)
endif
()
endif
()
install
(
TARGETS kj-async
${
INSTALL_TARGETS_DEFAULT_ARGS
}
)
install
(
TARGETS kj-async
${
INSTALL_TARGETS_DEFAULT_ARGS
}
)
install
(
FILES
${
kj-async_headers
}
DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
/kj"
)
install
(
FILES
${
kj-async_headers
}
DESTINATION
"
${
CMAKE_INSTALL_INCLUDEDIR
}
/kj"
)
...
@@ -145,6 +150,7 @@ if(BUILD_TESTING)
...
@@ -145,6 +150,7 @@ if(BUILD_TESTING)
add_executable
(
kj-heavy-tests
add_executable
(
kj-heavy-tests
async-test.c++
async-test.c++
async-unix-test.c++
async-unix-test.c++
async-win32-test.c++
async-io-test.c++
async-io-test.c++
refcount-test.c++
refcount-test.c++
string-tree-test.c++
string-tree-test.c++
...
...
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