Menu

#3 support static linking

open
nobody
None
5
2016-01-22
2015-05-20
No

Please, add static linking support.
Thanks!

Discussion

  • Dontsov Evgeny

    Dontsov Evgeny - 2015-05-20

    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

    1. libiqxmlrpc/api_export.h
      #ifdef SOMETHING
      #define LIBIQXMLRPC_DLL
      #endif

    2. maybe smth else

     

    Last edit: Dontsov Evgeny 2015-05-20
  • Anton Dedov

    Anton Dedov - 2016-01-19

    Could you create a pull request? I have no constant Windows building/testing set.

     
  • Dontsov Evgeny

    Dontsov Evgeny - 2016-01-22

    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 :/

     

Log in to post a comment.