It's rather difficult, cause I use both patchs and bash scripts for build and build only libixmlrpc lib without tests... It's also need to tune MSVC *.sln file for CMAKE_C_FLAGS to set -MTd, -MT.
Maybe later I will make correct patch without scripts :/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
changes:
1. Define for CMake
2. libiqxmlrpc/CMakeLists.txt:
add_definitions(-DLIBIQXMLRPC_COMPILATION) (for static)
add_definitions(-DLIBIQXMLRPC_COMPILATION -DDLL_EXPORT) (for dynamic)
...
add_library(iqxmlrpc SHARED or add_library(iqxmlrpc STATIC
libiqxmlrpc/api_export.h
#ifdef SOMETHING
#define LIBIQXMLRPC_DLL
#endif
maybe smth else
Last edit: Dontsov Evgeny 2015-05-20
Could you create a pull request? I have no constant Windows building/testing set.
It's rather difficult, cause I use both patchs and bash scripts for build and build only libixmlrpc lib without tests... It's also need to tune MSVC *.sln file for CMAKE_C_FLAGS to set -MTd, -MT.
Maybe later I will make correct patch without scripts :/