Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update interface compile definitions for Windows using CMake (conflue…
…ntinc#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
- Loading branch information