Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 561 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 561 Bytes

libev-cmake

current version of libev with cmake support

CMake

  • add repository as submodule to your project
  • add project in cmake
add_subdirectory(<path to repo>/libev-cmake)
  • link libev to your cmake target, will fail during linking if missing
target_link_library(<target> ev)
  • or use :: target thatwill fail during configuration time if missing
target_link_library(<target> ev::ev)

Example

  • example/main.c shows simple stdin read using libev