2 Star 1 Fork 0

Orion / libpomelo2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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#

(The MIT License) Copyright (c) 2014 NetEase, Inc. and other pomelo contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A New Client SDK for Pomelo 展开 收起
C
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/qiannianmen_110/libpomelo2.git
git@gitee.com:qiannianmen_110/libpomelo2.git
qiannianmen_110
libpomelo2
libpomelo2
master

搜索帮助