maxmind/libmaxminddb

Help configure build parameters for building on Windows

nezdolik opened this issue · 3 comments

Hi, I have encountered difficulties configuring build of libmaxmind on Windows (for Envoy integration). Could you help me validate few things:

  • The produced artefact name, will it be libmaxminddb.lib ?
  • Any windows specific flags, that need to be explicitly set? I have added "WIN32": "yes" so far
  • Below flags are used for building on all platforms, perhaps some of those are not suitable for Windows?:
        "CMAKE_BUILD_TYPE": "Release",
        "CMAKE_INSTALL_LIBDIR": "lib",
        "CMAKE_CXX_COMPILER_FORCED": "on",
        "BUILD_SHARED_LIBS": "no",
        "BUILD_TESTING": "no",

I believe the name would be maxminddb.lib. We use the default CMake library prefixes for the platform.

You shouldn't need any particular flags, but it will depend on the particulars of what you are doing.

Thanks @oschwald, i will fix artefact name, that could potentially be the rootcause of failing build

Closing this one, the problem got fixed. Thanks!