Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
libzmq
Commits
dc5528cb
Commit
dc5528cb
authored
Dec 06, 2013
by
Brandon Carpenter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable building IPC filtering with cmake.
parent
dc9b1309
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
CMakeLists.txt
CMakeLists.txt
+5
-0
platform.hpp.in
builds/cmake/platform.hpp.in
+3
-0
No files found.
CMakeLists.txt
View file @
dc5528cb
...
...
@@ -40,6 +40,7 @@ include(CheckCXXCompilerFlag)
include
(
CheckCSourceCompiles
)
include
(
CheckCSourceRuns
)
include
(
CMakeDependentOption
)
include
(
CheckCXXSymbolExists
)
check_include_files
(
ifaddrs.h ZMQ_HAVE_IFADDRS
)
check_include_files
(
windows.h ZMQ_HAVE_WINDOWS
)
...
...
@@ -51,6 +52,9 @@ check_library_exists(ws2 printf "" HAVE_WS2)
check_library_exists
(
rpcrt4 printf
""
HAVE_RPCRT4
)
# UuidCreateSequential
check_library_exists
(
iphlpapi printf
""
HAVE_IPHLAPI
)
# GetAdaptersAddresses
check_cxx_symbol_exists
(
SO_PEERCRED sys/socket.h ZMQ_HAVE_SO_PEERCRED
)
check_cxx_symbol_exists
(
LOCAL_PEERCRED sys/socket.h ZMQ_HAVE_LOCAL_PEERCRED
)
find_library
(
RT_LIBRARY rt
)
find_package
(
Threads
)
...
...
@@ -630,6 +634,7 @@ list(APPEND tests
test_abstract_ipc
test_fork
test_proxy
test_filter_ipc
)
endif
()
...
...
builds/cmake/platform.hpp.in
View file @
dc5528cb
...
...
@@ -19,6 +19,9 @@
#cmakedefine ZMQ_HAVE_EVENTFD
#cmakedefine ZMQ_HAVE_IFADDRS
#cmakedefine ZMQ_HAVE_SO_PEERCRED
#cmakedefine ZMQ_HAVE_LOCAL_PEERCRED
#cmakedefine ZMQ_HAVE_SOCK_CLOEXEC
#cmakedefine ZMQ_HAVE_SO_KEEPALIVE
#cmakedefine ZMQ_HAVE_TCP_KEEPCNT
...
...
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