Find file History
raulbocanegra and edenhill Update interface compile definitions for Windows using CMake (#1800, @…
…raulbocanegra)

* Add new preprocessor flag to avoid redefining macros defined by cmake

* Transform from CMake options to C preprocessor flags

* Add rddl.c on windows to avoid linker failures due to undefined rd_dl_open

* New CMake option to avoid win32 hand crafted config

* Add sources to rdkafka_cpp on Windows to make it compile.

* Add crypt32 static link dependency as stated on openssl notes on building under Windows.
"If you link with static OpenSSL libraries then you're expected to
 additionally link your application with WS2_32.LIB, GDI32.LIB,
 ADVAPI32.LIB, CRYPT32.LIB and USER32.LIB."
This maybe a feature request for CMake's FindOpenSSL.cmake module on Windows

* Make examples compile on Windows with CMake

* Make test compile on Windows with CMake

* Add export macros for shared builds on cmake

* Merge branch 'master' of https://github.com/edenhill/librdkafka

# Conflicts:
#	src/CMakeLists.txt

* Add LIBRDKAFKACPP_EXPORTS=0 to INTERFACE compile definitions of rdkafka++

* Remove useless compile definitions

* rebase of changes

* Add LIBRDKAFKACPP_EXPORTS=0 to INTERFACE compile definitions of rdkafka++

* Remove useless compile definitions

* Add sources to rdkafka_cpp on Windows to make it compile.

* Add crypt32 static link dependency as stated on openssl notes on building under Windows.
"If you link with static OpenSSL libraries then you're expected to
 additionally link your application with WS2_32.LIB, GDI32.LIB,
 ADVAPI32.LIB, CRYPT32.LIB and USER32.LIB."
This maybe a feature request for CMake's FindOpenSSL.cmake module on Windows

* Add LIBRDKAFKACPP_EXPORTS=0 to INTERFACE compile definitions of rdkafka++

* Remove useless compile definitions

* rebase of changes
Latest commit 84aa468 Jun 7, 2018