windows linux mac下erlang nif或者port_driver通用编译脚本
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
SisMaker 9162048729 ft: new eNpc file upload il y a 3 ans
ebin fx: 模块重命名-未修改完全 il y a 3 ans
include ft: 模块重命名 防止模块重名 il y a 4 ans
src fx: 模块重命名-未修改完全 il y a 3 ans
.gitignore 重命令为 eNpc il y a 4 ans
LICENSE Initial commit il y a 5 ans
Makefile 初始化提交 il y a 5 ans
README.md 重命令为 eNpc il y a 4 ans
bootstrap ft: 模块重命名 防止模块重名 il y a 4 ans
bootstrap.bat 初始化提交 il y a 5 ans
eNpc ft: new eNpc file upload il y a 3 ans
eNpc.cmd 重命令为 eNpc il y a 4 ans
rebar.config 初始化提交 il y a 5 ans

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...).