2015-05-13 00:49:08 -04:00
< p align = "center" >
2019-02-06 00:12:35 +03:00
< img src = "https://libevent.org/libevent3.png" alt = "libevent logo" / >
2015-05-13 00:49:08 -04:00
< / p >
2015-05-13 00:52:40 -04:00
2020-05-04 23:42:22 +03:00
[![CI linux ](https://github.com/libevent/libevent/workflows/linux/badge.svg )](https://github.com/libevent/libevent/actions?query=workflow%3Alinux)
[![CI windows ](https://github.com/libevent/libevent/workflows/windows/badge.svg )](https://github.com/libevent/libevent/actions?query=workflow%3Awindows)
[![CI mingw ](https://github.com/libevent/libevent/workflows/mingw/badge.svg )](https://github.com/libevent/libevent/actions?query=workflow%3Amingw)
[![CI macos ](https://github.com/libevent/libevent/workflows/macos/badge.svg )](https://github.com/libevent/libevent/actions?query=workflow%3Amacos)
2016-11-01 23:39:41 +03:00
[![Coverage Status ](https://coveralls.io/repos/github/libevent/libevent/badge.svg )](https://coveralls.io/github/libevent/libevent)
2018-04-15 23:02:05 +00:00
[![Join the chat at https://gitter.im/libevent/libevent ](https://badges.gitter.im/libevent/libevent.svg )](https://gitter.im/libevent/libevent?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2019-09-08 11:47:04 +03:00
[![doxygen ](https://img.shields.io/badge/doxygen-documentation-blue.svg )](https://libevent.org/doc)
2015-05-13 00:52:40 -04:00
2015-05-13 00:51:07 -04:00
2019-03-10 19:51:44 +05:30
# 1. BUILDING AND INSTALLATION
2009-11-20 12:37:47 -05:00
2014-01-14 18:25:07 +01:00
## Autoconf
2015-12-19 01:47:49 -08:00
```
2019-03-10 19:51:44 +05:30
$ ./configure
$ make
$ make verify # (optional)
$ sudo make install
2015-12-19 01:47:49 -08:00
```
2019-03-10 19:51:44 +05:30
See [Documentation/Building#Autoconf ](/Documentation/Building.md#autoconf ) for more information
2015-12-19 01:47:49 -08:00
2014-01-14 18:25:07 +01:00
## CMake (Windows)
2018-08-01 10:21:57 +10:00
Install CMake: < https: / / www . cmake . org >
2014-01-14 18:25:07 +01:00
```
2019-03-10 19:51:44 +05:30
$ md build & & cd build
2019-06-03 23:22:35 +08:00
$ cmake -G "Visual Studio 10" .. # Or use any generator you want to use. Run cmake --help for a list
$ cmake --build . --config Release # Or "start libevent.sln" and build with menu in Visual Studio.
2014-01-14 18:25:07 +01:00
```
2019-03-10 19:51:44 +05:30
See [Documentation/Building#Building on Windows ](/Documentation/Building.md#building-on-windows ) for more information
2014-01-14 18:25:07 +01:00
2019-03-10 19:51:44 +05:30
## CMake (Unix)
2014-01-14 18:25:07 +01:00
```
2019-03-10 19:51:44 +05:30
$ mkdir build & & cd build
$ cmake .. # Default to Unix Makefiles.
$ make
$ make verify # (optional)
2014-01-14 18:25:07 +01:00
```
2019-03-10 19:51:44 +05:30
See [Documentation/Building#Building on Unix (With CMake) ](/Documentation/Building.md#building-on-unix-cmake ) for more information
2014-01-14 18:25:07 +01:00
2020-01-21 22:02:34 -08:00
## Package Managers
You can download and install libevent using the [vcpkg ](https://github.com/Microsoft/vcpkg ) dependency manager:
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install libevent
The libevent port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request ](https://github.com/Microsoft/vcpkg ) on the vcpkg repository.
2014-01-14 18:25:07 +01:00
# 2. USEFUL LINKS:
2009-11-20 12:37:47 -05:00
For the latest released version of Libevent, see the official website at
2014-01-14 18:41:58 +01:00
< http: / / libevent . org / > .
2009-11-20 12:37:47 -05:00
There's a pretty good work-in-progress manual up at
2014-01-14 18:25:07 +01:00
< http: / / www . wangafu . net / ~ nickm / libevent-book / > .
2009-11-20 12:37:47 -05:00
For the latest development versions of Libevent, access our Git repository
via
2014-01-14 18:25:07 +01:00
```
2015-12-23 02:42:48 -08:00
$ git clone https://github.com/libevent/libevent.git
2014-01-14 18:25:07 +01:00
```
You can browse the git repository online at:
2014-01-14 18:41:58 +01:00
2018-08-01 10:29:43 +10:00
< https: / / github . com / libevent / libevent >
2009-11-20 12:37:47 -05:00
2015-12-23 02:42:48 -08:00
To report bugs, issues, or ask for new features:
__Patches__: https://github.com/libevent/libevent/pulls
2018-08-01 10:17:42 +10:00
> OK, those are not really _patches_. You fork, modify, and hit the "Create Pull Request" button.
> You can still submit normal git patches via the mailing list.
2014-01-14 18:41:58 +01:00
2018-08-01 10:17:42 +10:00
__Bugs, Features [RFC], and Issues__: https://github.com/libevent/libevent/issues
2015-12-23 02:42:48 -08:00
> Or you can do it via the mailing list.
2009-11-20 12:37:47 -05:00
There's also a libevent-users mailing list for talking about Libevent
2014-01-14 18:41:58 +01:00
use and development:
< http: / / archives . seul . org / libevent / users / >
2007-11-07 22:35:15 +00:00
2014-01-14 18:25:07 +01:00
# 3. ACKNOWLEDGMENTS
2005-04-04 00:35:14 +00:00
2019-03-08 16:47:56 +05:30
The [following people ](/CONTRIBUTORS.md ) have helped with suggestions, ideas,
code or fixing bugs.