Skip to content
/ shoml Public

SHared Object Module Loader for IoT.JS (SHOML.JS)

License

Notifications You must be signed in to change notification settings

galpeter/shoml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHared Object Module Loader for IoT.JS (SHOML.JS)

How to test?

Clone the repository next to the IoT.js directory.

  1. The following directory structure should be present now:
$ ls -1
iotjs
shoml
  1. If the directory structure is ok, then build the iotjs and the module:
$ cd iotjs && tools/build.py --external-modules=../shoml --cmake-param=-DENABLE_MODULE_SHOML=ON --clean

This will also create a libiotjs_dynmodule.so in the IoT.js lib build directory.

  1. After the build run the following example js file which uses the SHOML module. For example:
$ ./build/x86_64-linux/debug/bin/iotjs ../shoml/lib/test_so_load.js

About

SHared Object Module Loader for IoT.JS (SHOML.JS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published