Skip to content
A New Client SDK for Pomelo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cs/contrib
deps
include v0.3.5 release Jun 30, 2015
java
lua
py
src
test test: add handshake timeout for tls Dec 31, 2015
.gitignore
Android.mk
CHANGELOG.md v0.3.5 release Jun 30, 2015
CMakeLists.txt
LICENSE
Makefile.linux
README.md Add instructions for installing gyp Oct 27, 2015
android-compile.sh
android-gen.sh
android-toolchain.sh
pomelo.gyp

README.md

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:

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

disable tls support

  • -Duse_sys_openssl=[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.

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

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

  • -Duse_sys_uv=[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

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

use system pre-install jansson.

  • -Dpomelo_library=[static_library | shared_library], static_library 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#

You can’t perform that action at this time.