Code Monkey home page Code Monkey logo

Comments (4)

fire avatar fire commented on August 20, 2024

There's defines in configure.ac that have to be added.

from czmq.

fire avatar fire commented on August 20, 2024

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.

hintjens avatar hintjens commented on August 20, 2024

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.

hintjens avatar hintjens commented on August 20, 2024

OK, I'm adding this to the project. Thanks.

from czmq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.