Skip to content
Toolkit for hybrid development (js,c++) based on wxWidgets
C++ C
Find file
Latest commit d207fbb Apr 30, 2012 oliver Correct listed dependencies.

README.md

Embrajs

Pronounce: embrace or embra-js

This project provides a means to setup a hybrid C++-JS application easily. The currently evolving SWIG javascript module is applied to create extensions which are used to extend the JSC engine of a wxWidget browser widget.

This is a first proof-of-concept. Only GTK is supported.

Requirements:

Build

  • clone the wxWidgets branch:
    cd ~/projects
    git clone git://github.com/oliver----/wxWidgets.git wxWidgets
    cd wxWidgets
    git checkout webview_jsc_extensions
  • build wxWidgets:
    cd build/bakefiles
    bakefile_gen -f automake
    cd ../..
    autoconf
    ./configure
    make
    sudo make install
  • clone embrajs:
    cd ~/projects
    git clone git://github.com/oliver----/embrajs.git embrajs
  • build embrajs:
    cd embrajs
    mkdir build
    cd build
    cmake ..
    make

Example

A first example is provided which is SWIG's simple. Bindings are generated semi-automatic. This will improve when the module evolves.

  • run example (after build):

    build/examples/simple/simple

Something went wrong with that request. Please try again.