cmake/AddEventLibrary.cmake


Log

Author Commit Date CI Message
Philip Herron 0fa43c99 2018-04-05T15:17:06 cmake: ensure windows dll's are installed as well as lib files Closes: #621
Azat Khuzhin b1e8a413 2017-03-14T13:33:31 cmake: use APPEND during exporting targets (for old cmake) On centos with cmake 2.8.12.2: CMake Error at cmake/AddEventLibrary.cmake:92 (export): export called with target "event_extra_shared" which requires target "event_core_shared" that is not in the export list. If the required target is not easy to reference in this call, consider using the APPEND option with multiple separate calls. But on newer cmake I guess everything is ok. Fixes: 7182c2f561570cd9ceb704623ebe9ae3608c7b43 ("cmake: build SHARED and STATIC libraries (like autoconf does)")
Azat Khuzhin 882f537c 2017-03-13T21:40:52 cmake: fix pkgconfig generation (copy-paste typo)
Azat Khuzhin fd5a3fc0 2017-03-13T03:18:02 cmake: fix export absolute path and relative path and cleanup a bit Remove next vars, since I don't think that somebody want to change it: - bin - lib - include And fix exports problem: CMake Error: INSTALL(EXPORT "LibeventTargets") given absolute DESTINATION "/usr/lib/cmake/libevent" but the export references an installation of target "event_core_static" which has relative DESTINATION "lib".
Azat Khuzhin 86c73575 2017-03-13T02:26:39 cmake: generate and install pkgconfig files Fixes: #443
Azat Khuzhin 7182c2f5 2017-03-12T23:31:59 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