From 9dbba7412358ac31af2f8e962d30438681b0f097 Mon Sep 17 00:00:00 2001 From: Felipe Magno de Almeida Date: Tue, 9 Dec 2014 16:41:16 -0200 Subject: efl-js: JavaScript Eolian binding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To configure elementary sources with bindings to use in nodejs add ––with-js=nodejs in configure flags in EFL compilation to generate node files, then compile elementary normally: path/to/efl$ configure --with-js=nodejs path/to/efl$ make path/to/efl$ make install path/to/elm$ configure path/to/efl$ make path/to/efl$ make install To use, you have to require elm: elm = require('elm') The bindings is divided in two parts: generated and manually written. The generation uses the Eolian library for parsing Eo files and generate C++ code that is compiled against V8 interpreter library to create a elm.node file that can be required in a node.js instance. @feature --- Makefile_Eolian_Cxx_Helper.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile_Eolian_Cxx_Helper.am') diff --git a/Makefile_Eolian_Cxx_Helper.am b/Makefile_Eolian_Cxx_Helper.am index 8b792e012..bbae6f0c5 100644 --- a/Makefile_Eolian_Cxx_Helper.am +++ b/Makefile_Eolian_Cxx_Helper.am @@ -6,7 +6,7 @@ AM_V_EOLCXX = $(am__v_EOLCXX_@AM_V@) am__v_EOLCXX_ = $(am__v_EOLCXX_@AM_DEFAULT_V@) am__v_EOLCXX_0 = @echo " EOLCXX " $@; -SUFFIXES += .eo.hh +SUFFIXES += .eo.hh .eo.impl.hh %.eo.impl.hh %.eo.hh: %.eo $(_EOLIAN_CXX_DEP) $(AM_V_EOLCXX) \ -- cgit v1.2.1