Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ksk-/yqueue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yqueue

The multiple queues processor.

how to build

dependencies

  1. boost
  2. CMake (build dependency)
  3. conan (build dependency, optional)

prepare to build

  1. create and go to the build directory

     mkdir build && cd build
    
  2. install the dependencies using conan (or you may skip this step if you already have boost installed)

     conan install .. --build=missing
    
  3. configure the project (note that you can disable usage of conan if you want)

     cmake .. -DCMAKE_BUILD_TYPE=<Release|Debug> -DCMAKE_INSTALL_PREFIX=<path_to_install_library> -DUSE_CONAN=<ON|OFF>
    

building

  1. build the project

     cmake --build . --target all
    
  2. install the library (copy files to <path_to_install_library>)

     cmake --build . --target install
    

run unit tests

NOTE: you shoud enable tests with option "-DTESTS_ENABLE=ON" in configuration step

    cmake --build . --target test

how to use

the library is header-only but you have to link the Boost.Fiber library and the thread library of the system with your app

example for CMake projets

    find_package(Threads)
    find_package(Boost REQUIRED COMPONENTS fiber)

    find_package(yqueue 0.0.4 REQUIRED)

    add_executable(your-app main.cpp)
    target_link_libraries(your-app PRIVATE yqueue)

About

The multiple queues processor.

Resources

License

Stars

Watchers

Forks

Packages

No packages published