windows linux mac下erlang nif或者port_driver通用编译脚本
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
SisMaker 9162048729 ft: new eNpc file upload před 3 roky
ebin fx: 模块重命名-未修改完全 před 3 roky
include ft: 模块重命名 防止模块重名 před 4 roky
src fx: 模块重命名-未修改完全 před 3 roky
.gitignore 重命令为 eNpc před 4 roky
LICENSE Initial commit před 5 roky
Makefile 初始化提交 před 5 roky
README.md 重命令为 eNpc před 4 roky
bootstrap ft: 模块重命名 防止模块重名 před 4 roky
bootstrap.bat 初始化提交 před 5 roky
eNpc ft: new eNpc file upload před 3 roky
eNpc.cmd 重命令为 eNpc před 4 roky
rebar.config 初始化提交 před 5 roky

README.md

Erlang nif port compiler

windows linux mac下erlang nif或者port_driver通用编译脚本
改造自 erlang-native-compiler

Usage

default_env

  1. Clone this repository
  2. Run make in this directory
  3. Copy eNpc to your project "c_src" dir and commit it
  4. Add these (or similar) hooks to your rebar.config:
{pre_hooks, [{"", compile, "escript c_src/eNpc compile"}]}.
{post_hooks, [{"", clean, "escript c_src/eNpc clean"}]}.

After that eNpc should read your old rebar.config port_specs and port_env settings as expected (it is rebar2's port compiler after all...).