jerryscript-project / iotjs

Platform for Internet of Things with JavaScript http://www.iotjs.net
Other
2.58k stars 440 forks source link

How can I use iotjs as an external library ? #1939

Closed yyykkkyyy closed 3 years ago

yyykkkyyy commented 4 years ago

Hi,

I would like to use iotjs in my project as an external library. The build of the project will be used Makefile. So, I consider the structure of the project...

project_dir/
          ├src/
          └libs/
               ├iotjs
                .....

If I define the structure of directory like above, how can I use iotjs in src directory? Can I include and link whole iotjs directory in Makefile ?

rzr commented 4 years ago

Relate-to: https://github.com/jerryscript-project/iotjs/pull/1896