https://github.com/sjinks/libev-cmake
libev with CMake support
https://github.com/sjinks/libev-cmake
cmake cmake-lib libev
Last synced: 4 months ago
JSON representation
libev with CMake support
- Host: GitHub
- URL: https://github.com/sjinks/libev-cmake
- Owner: sjinks
- License: mit
- Created: 2024-01-27T13:14:51.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-06-15T00:17:19.000Z (8 months ago)
- Last Synced: 2025-07-04T21:07:19.391Z (7 months ago)
- Topics: cmake, cmake-lib, libev
- Language: CMake
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libev-cmake
[](https://github.com/sjinks/libev-cmake/actions/workflows/build.yml)
libev with CMake support.
## Usage with [FetchContent](https://cmake.org/cmake/help/latest/module/FetchContent.html)
```cmake
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](https://github.com/cpm-cmake/CPM.cmake)
```cmake
file(DOWNLOAD https://github.com/cpm-cmake/CPM.cmake/releases/download/v0.42.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")
```