libpomelo2

by NetEase

NetEase /libpomelo2

A New Client SDK for Pomelo

129 Stars 57 Forks Last release: Not found MIT License 173 Commits 17 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

libpomelo2

How to compile

Install gyp

git clone https://chromium.googlesource.com/external/gyp
cd gyp
python setup.py install

Generate native IDE project files by gyp

$ gyp --depth=. pomelo.gyp [options]

options:

  • -Dnotlssupport=[true | false],
    false
    by default

disable tls support

  • -Dusesysopenssl=[true | false],
    true
    by default

enable openssl, but use system pre-install libssl & libcrypto, if

false
, it will compile openssl from source code in deps/openssl.
  • -Dnouvsupport=[true | false],
    false
    by default

disable uv support, it also disable tls support as tls implementation is based on uv.

  • -Dusesysuv=[true | false],
    false
    by default

use system pre-install libuv, similar to

use_sys_openssl
, if enable, the pre-install libuv version should be 0.11.x
  • -Dusesysjansson=[true | false],
    false
    by default

use system pre-install jansson.

  • -Dpomelolibrary=[staticlibrary | sharedlibrary], `staticlibrary` by default

static library or shared library for libpomelo2

  • -Dbuild_pypomelo=[true | false],
    false
    by default.
  • -Dpython_header=,
    /usr/include/python2.7
    by default.

These two options is used to configure compilation for pypomelo.

  • -Dbuild_jpomelo=[true|false],
    false
    by default.

configure jpomelo compilation for java

  • -Dbuild_cspomelo=[true|false],
    false
    by default.

configure cspomelo compilation for c#

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.