Skip to content

CMake encapsulation for the github.com/edenhill/librdkafka

License

Notifications You must be signed in to change notification settings

olibre/cmake-for-rdkafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake encapsulation for the librdkafka

The project librdkafka does not provide CMake.
Therefore, to build it, you can use the provided script ./configure.
This project aims to provide a CMake encapsulation.

Example to use this CMake encapsulation

cmake_minimum_required(VERSION 2.8)
project(myProject)
add_executable(my.exe somefile.c)

include(some/path/rdkafka.cmake)                # Include the CMake encapsulation
target_link_libraries(my.exe rdkafka::rdkafka)  # Link to target rdkafka::rdkafka

License

CC0 1.0 Universal - Public Domain Dedication

To the extent possible under law, olibre ([email protected]) has waived all copyright and related or neighboring rights to cmake-for-rdkafka (this README.md and CMake work). This work is published in 2016 from France.

Anybody can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

About

CMake encapsulation for the github.com/edenhill/librdkafka

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages