README.md


Log

Author Commit Date CI Message
Azat Khuzhin bc7f2fd9 2018-11-23T00:29:55 cmake: do not build both (SHARED and STATIC) for MSVC/win32 MSVC does not support SHARED and STATIC libraries with the same name, so let's just build SHARED libraries by default instead (yes we can add prefix but let's stick with this). The reason for this is that in windows shared libraries requires .lib file too, but this is not static library it is imported library for shared (doh...), for more info [1] and [2]. [1]: https://docs.microsoft.com/en-us/windows/desktop/dlls/dynamic-link-library-creation [2]: https://blogs.msdn.microsoft.com/oldnewthing/20091013-00/?p=16403 And when we build both static library can and will override shared library imported part, let's take a look at event_extra.lib: - before patch [3]: $ less libevent-fail/lib/Debug/event_extra.lib | head ==> use library:contained_file to view a file in the archive rw-rw-rw- 100666/100666 59568 Nov 21 23:55 2018 event_extra_static.dir/Debug/evrpc.obj rw-rw-rw- 100666/100666 252219 Nov 21 23:55 2018 event_extra_static.dir/Debug/evdns.obj rw-rw-rw- 100666/100666 203850 Nov 21 23:55 2018 event_extra_static.dir/Debug/http.obj rw-rw-rw- 100666/100666 25907 Nov 21 23:55 2018 event_extra_static.dir/Debug/event_tagging.obj [3]: https://ci.appveyor.com/project/azat/libevent/builds/20472024/job/t0o93v042jai0dj7 - "after patch" [4] (not after but the same effect): $ less libevent-ok/lib/Debug/event_extra.lib | head ==> use library:contained_file to view a file in the archive --------- 0/0 509 Nov 21 23:38 2018 event_extra.dll ... [4]: https://ci.appveyor.com/project/azat/libevent/builds/20478998/job/ca9k3c76amc4qr76 Refs: #691 (cherry picked from commit 90d80ef4167d97b11e01e80fcc4eaa447712e92f)
Azat Khuzhin eb10a738 2018-11-22T23:00:11 cmake: introduce EVENT__LIBRARY_TYPE option Long time ago in [1] cmake build was forced to compile both libraries (SHARED and STATIC), since this is how our autotools build works. [1]: 7182c2f561570cd9ceb704623ebe9ae3608c7b43 ("cmake: build SHARED and STATIC libraries (like autoconf does)") And there is no way to configure this (and indeed you need to do this for MSVC for example), so let's introduce option for this -- EVENT__LIBRARY_TYPE. Plus now we have INTERFACE libraries, that we can use internally in libevent's cmake rules to avoid strict to _shared/_static variant of the libraries to link with samples/tests (we prefer SHARED over STATIC for linking). Also bump minimal cmake required version to 3.1 by the following reasons: - 3.1 is required for RPATH configuration under APPLE - 3.0 is required for add_library(INTERFACE) (did not found it in 2.8.x documentation) - remove extra conditions (anyway 3.1 was release 4 years ago, so I guess that most of the systems will have it) (cherry picked from commit c9a073eae8f86a74fbbb125db34b881ef40108b7)
Azat Khuzhin 21bfaa70 2018-08-01T09:48:42 Merge branch 'official/pr/671' -- README cleanup * official/pr/671: Capitalise project names consistently in README.md Indent configure flag section to make markdown format them as code Use https for resources that support it Rewords awkward sentences in README.md Fix typos in README.md (cherry picked from commit c3a6fe75e1511a4c7a7a6ef0a5954b1918902933)
The Gitter Badger 8886eed4 2018-04-15T23:02:05 Add Gitter badge (cherry picked from commit ba78ba9e8ba4c964dd5d14a281d7421c95d37937)
Azat Khuzhin 02312d50 2017-09-24T15:12:13 Remove OpenSSL paragram from README Because it is mauvais ton to use binaries instead of normal packages (like apt-get in debian, pacman in arch, and others). Plus that link was borken and according to [1] OpenSSL do not ship binaries officially. And personally I don't think that this is not obvious that you need openssl libraries to build libevent with it's support, and BTW you need headers too (of course). [1]: https://www.openssl.org/community/binaries.html Fixes: #562 (cherry picked from commit 62866f98a5979e3b9ee8db0287be79749fcf7d6a)
Gonçalo Ribeiro 5dbcae85 2017-04-28T19:36:42 Correct URL for the libevent logo (cherry picked from commit f988c5ca0eb654a8e60df174abfc63dd9476be5e)
Azat Khuzhin 9806b126 2017-03-13T21:05:32 Merge branch 'cmake-missing-bits' This patchset adds next missing things (in compare to autotools): - pkgconfig - event_pthreads/event_openssl - compile shared/static libraries always And some fixes, because it will not build after fixing other things: - export missing symbols for cmake (-fvisibility=hidden) * cmake-missing-bits: cmake: support visibility for AppleClang too cmake: fix export absolute path and relative path and cleanup a bit cmake: generate and install pkgconfig files cmake: build SHARED and STATIC libraries (like autoconf does) cmake: add missing event_openssl/event_pthreads libraries Export symbols for -fvisibility=hidden (under cmake) Refs: #246 (cherry picked from commit 489991a2b2628ba1ff4e6879b9f67ec35d224c38)
Azat Khuzhin d9d11cb2 2017-01-29T20:19:06 Make EVENT_STAGE_NAME non cached It did not work before correctly anyway, since cmake do not reset cache entries by default, so that reset to "beta" didn't work. But I don't think that making this variable cached is useful, so let's remove this. (cherry picked from commit fe2c2622c389d7e9529b3c2fa828fb69cc985a1e)
Azat Khuzhin 50824ae2 2017-01-22T16:14:30 README: update AUTHORS $ git log --format='%an' HEAD...refs/tags/release-2.1.6-beta | sort -u | xargs -n1 -i bash -c 'fgrep -q "{}" README.md || echo {}'
Breaker 3821cca1 2016-12-23T16:19:35 Update README.md The default option of EVENT__DISABLE_OPENSSL:BOOL is `OFF`
Azat Khuzhin 5904dd53 2016-11-02T00:16:54 README: update AUTHORS $ git log --format='%an' HEAD...refs/tags/release-2.1.6-beta | sort -u | xargs -n1 -i bash -c 'fgrep -q "{}" README.md || echo {}'
Azat Khuzhin 9ac000c7 2016-11-01T23:39:41 Use coveralls.io via travis
Simone Basso 23616161 2016-10-21T10:49:22 README.md: fix typo: ar -> are
Azat Khuzhin 3298c254 2016-08-07T23:27:22 Update AUTHORS section in README P.S. "Sebastian Hahn" was declared two times.
Mark Ellzey b8ec70c4 2015-12-23T02:42:48 Update README.md
Mark Ellzey 8b228e27 2015-12-19T01:47:49 Lot's of cmake updates This is still not done, cmake here was a horrid mess, but we're getting our act together now.
Mark Ellzey 80faee9f 2015-05-13T00:52:40 Update README.md
Mark Ellzey ad4a897a 2015-05-13T00:51:07 Update README.md
Mark Ellzey a2b2e1e6 2015-05-13T00:49:08 Update README.md
Mark Ellzey 0dfa5dc6 2015-05-12T15:33:26 Update README.md
Nick Mathewson e6c6f120 2014-03-16T12:01:44 Bring changelog up to date for 2.1.4-alpha
Nick Mathewson d03b5bf0 2014-01-21T14:29:00 Disclaimerize cmake a little in the README
JoakimSoderberg 8d4cb35d 2014-01-14T18:41:58 Clean up the README some.
Joakim Soderberg 604b8cc4 2014-01-14T18:25:07 Update README with CMake build instructions.
Joakim Soderberg d2bc39af 2014-01-14T18:24:43 Rename README to README.md and use markdown to format.