Comments (4)
There's defines in configure.ac that have to be added.
from czmq.
Updated cmakelist.
cmake_minimum_required(VERSION 2.8)
project( czmq )
set(SOURCES_files_Source_Files
src/zauth.c
src/zbeacon.c
src/zcert.c
src/zcertstore.c
src/zchunk.c
src/zclock.c
src/zconfig.c
src/zctx.c
src/zdir.c
src/zfile.c
src/zframe.c
src/zhash.c
src/zlist.c
src/zloop.c
src/zmsg.c
src/zmutex.c
src/zpoller.c
src/zsocket.c
src/zsockopt.c
src/zstr.c
src/zsys.c
src/zthread.c
src/ztree.c
)
source_group("Source Files" FILES ${SOURCES_files_Source_Files})
set(SOURCES_Source_Files
${SOURCES_files_Source_Files}
)
set(SOURCES_files_Header_Files
include/czmq.h
include/czmq_prelude.h
include/zauth.h
include/zbeacon.h
include/zcert.h
include/zcertstore.h
include/zchunk.h
include/zclock.h
include/zconfig.h
include/zctx.h
include/zdir.h
include/zfile.h
include/zframe.h
include/zhash.h
include/zlist.h
include/zloop.h
include/zmsg.h
include/zmutex.h
include/zpoller.h
include/zsocket.h
include/zsockopt.h
include/zstr.h
include/zsys.h
include/zthread.h
include/ztree.h
)
source_group("Header Files" FILES ${SOURCES_files_Header_Files})
set(SOURCES_Header_Files
${SOURCES_files_Header_Files}
)
set(SOURCES_
${SOURCES_Source_Files}
${SOURCES_Header_Files}
)
set( WITH_LIBZMQ . )
include_directories(
../libzmq/include
include
${CMAKE_INSTALL_PREFIX}/include
${WITH_LIBZMQ}
)
set_source_files_properties(${SOURCES_files_Source_Files} PROPERTIES LANGUAGE CXX )
add_library ( czmq ${SOURCES_} )
install ( TARGETS czmq LIBRARY DESTINATION lib ARCHIVE DESTINATION lib )
install ( FILES ${SOURCES_files_Header_Files} DESTINATION include )
from czmq.
You can make a pull request with this, if you like. Thanks!
On Sun, Sep 29, 2013 at 9:57 PM, Ernest Lee [email protected]:
Updated cmakelist.
cmake_minimum_required(VERSION 2.8)
project( czmq )
set(SOURCES_files_Source_Files
src/zauth.c
src/zbeacon.c
src/zcert.c
src/zcertstore.c
src/zchunk.c
src/zclock.c
src/zconfig.c
src/zctx.c
src/zdir.c
src/zfile.c
src/zframe.c
src/zhash.c
src/zlist.c
src/zloop.c
src/zmsg.c
src/zmutex.c
src/zpoller.c
src/zsocket.c
src/zsockopt.c
src/zstr.c
src/zsys.c
src/zthread.c
src/ztree.c)
source_group("Source Files" FILES ${SOURCES_files_Source_Files})set(SOURCES_Source_Files
${SOURCES_files_Source_Files}
)set(SOURCES_files_Header_Files
include/czmq.h
include/czmq_prelude.h
include/zauth.h
include/zbeacon.h
include/zcert.h
include/zcertstore.h
include/zchunk.h
include/zclock.h
include/zconfig.h
include/zctx.h
include/zdir.h
include/zfile.h
include/zframe.h
include/zhash.h
include/zlist.h
include/zloop.h
include/zmsg.h
include/zmutex.h
include/zpoller.h
include/zsocket.h
include/zsockopt.h
include/zstr.h
include/zsys.h
include/zthread.h
include/ztree.h
)
source_group("Header Files" FILES ${SOURCES_files_Header_Files})set(SOURCES_Header_Files
${SOURCES_files_Header_Files}
)set(SOURCES_
${SOURCES_Source_Files}
${SOURCES_Header_Files}
)set( WITH_LIBZMQ . )
include_directories(
../libzmq/include
include
${CMAKE_INSTALL_PREFIX}/include
${WITH_LIBZMQ}
)set_source_files_properties(${SOURCES_files_Source_Files} PROPERTIES LANGUAGE CXX )
add_library ( czmq ${SOURCES_} )
install ( TARGETS czmq LIBRARY DESTINATION lib ARCHIVE DESTINATION lib )
install ( FILES ${SOURCES_files_Header_Files} DESTINATION include )—
Reply to this email directly or view it on GitHubhttps://github.com//issues/250#issuecomment-25327823
.
from czmq.
OK, I'm adding this to the project. Thanks.
from czmq.
Related Issues (20)
- Lingering broken TCP connections when using zproxy
- czmq bindiing jni should be deployed to maven central jcenter is now read only. HOT 1
- Tests on OSX? HOT 1
- Ios Build Fails Please check the log on IOS sdk 16.2 HOT 2
- zsock_events() segfaults if called too often HOT 4
- How to get peer PID with czmq? HOT 1
- Saving certificate to memory?
- An error occurs when the zsock_set_tcp_keepalive function is executed HOT 2
- ziflist crashes when there are 'alias' net devices HOT 1
- zpoller_wait() will fail if WiFi networks are switched or after Windows sleep and even rebuilding all sockets doesn't make it recover HOT 9
- No MSYS2 package HOT 2
- zloop allows calling start() again but timer removal fails then HOT 2
- Issue with libczmq-dev HOT 1
- Problem: czmq `make check` tests do not display properly in terminal HOT 1
- Problem: When zauth unable to load password file it uses zsys `info` instead of `warn`
- zloop: nonstop does not work as intended (EINTR breaks loop) HOT 2
- No QNX Compile Options for s_reload in ziflist.c HOT 1
- Problem:Dose XPub-XSub proxy support Curve/Plain authentication?
- linux czmq/src/zhash.c:892: void zhash_test(_Bool): Assertion `item' failed. HOT 1
- macOS test error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from czmq.