Add C# properties for actor current position and size
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / README
1 To add the Mono Project GPG signing key and the package repository (http://www.mono-project.com/docs/getting-started/install/linux/):
2
3 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
4 echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
5 sudo apt-get update
6
7 To install Mono:
8
9 sudo apt-get install mono-devel
10 sudo apt-get install mono-complete
11 sudo apt-get install referenceassemblies-pcl
12 sudo apt-get install ca-certificates-mono
13
14 To install SWIG:
15
16 a) Download Swig-3.0.10 from http://www.swig.org/download.html
17 b) Untar the files and refer "INSTALL" file to install Swig as mentioned below:
18   1) ./configure --with-csharp-compiler=/usr/bin/mcs 
19      (/usr/bin/mcs  is the mono compiler path from step 1)
20   2) make
21   3) sudo make install
22
23 To build C# binding for Ubuntu desktop using SWIG for the first time:
24
25 ./autogen.sh
26 ./configure
27 make
28
29 To build C# binding for Ubuntu desktop using SWIG after updating:
30
31 make maintainer-clean
32 ./configure
33 make
34
35 To build C# examples with the C# binding together for Ubuntu desktop:
36
37 make check
38
39 To run examples on Ubuntu desktop:
40
41 cd examples
42 DALI_WINDOW_WIDTH=480 DALI_WINDOW_HEIGHT=800 ./hello-world.exe
43