Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.09 KB

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 (olibre@Lmap.org) 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.