Skip to content

sjinks/libev-cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libev-cmake

Build

libev with CMake support.

Usage with FetchContent

include(FetchContent)
FetchContent_Declare(ev GIT_REPOSITORY https://github.com/sjinks/libev-cmake GIT_TAG v4.33)
FetchContent_MakeAvailable(ev)

target_link_libraries(mytarget ev::ev)

Usage with CPM.cmake

file(DOWNLOAD https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.39.0/CPM.cmake ${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)
include(${CMAKE_CURRENT_BINARY_DIR}/cmake/CPM.cmake)

CPMAddPackage("gh:sjinks/libev-cmake@4.33")