Merge "(Control Renderers) Change renderer type values to uppercase" into devel/master
[platform/core/uifw/dali-toolkit.git] / node-addon / README
1 Building dali node addon for GBS
2
3 Ensure node-devel (0.12.4) rpm is install into gbs. The addon expects /usr/lib/node/node.h to exists
4 in the gbs environment
5
6 sudo gbs  build -A armv7l --include-all --ccache --keep-packs --spec dali-addon.spec
7
8 Building for Ubuntu desktop:
9
10 2 options:
11
12 option 1 (easy):  in node-addon folder type
13
14 $ node-gyp build
15
16 option 2 (harder)
17 Ensure node-js source has been downloaded and built from source.
18 It doesn't have to be installed anywhere (make sure node executable is in your PATH).
19
20 In node-addon/build/tizen direction, run cmake, with the source directory of node
21
22 cmake -DDesktopNodePath:String=/home/my-user/Downloads/node-v0.12.4 .
23 make