]> granicus.if.org Git - libevent/commit
cmake: build SHARED and STATIC libraries (like autoconf does)
authorAzat Khuzhin <a3at.mail@gmail.com>
Sun, 12 Mar 2017 20:31:59 +0000 (23:31 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Mon, 13 Mar 2017 13:20:40 +0000 (16:20 +0300)
commit7182c2f561570cd9ceb704623ebe9ae3608c7b43
treee1ae95746a1b1ea2e509547ff7a8122771982f2f
parent72ef9d16522f88ea7848a52430b5f80d1174d710
cmake: build SHARED and STATIC libraries (like autoconf does)

Since they are useful for debugging, and if autotools build them then
cmamke has to do this too, to make migration more simple.

And now:
- tests: uses shared libraries (since this is upstreams one)
- other binaries: uses static libraries

This removes next private config:
- EVENT__NEED_DLLIMPORT
CMakeLists.txt
README.md
cmake/AddEventLibrary.cmake [new file with mode: 0644]
cmake/LibeventConfig.cmake.in
event-config.h.cmake
include/event2/visibility.h