Split Native Parts to SharedObject and Executable
[platform/core/dotnet/launcher.git] / test_build_on_desktop.sh
1 #!/bin/sh
2
3 #CoreFXRefPath=`readlink -e ../dlls/corefx_refs/`
4 #TizenDeviceAPIPath=`readlink -e ../dlls/tizen_deviceapis/`
5 CoreFXRefPath=`readlink -e ../dlls/desktop/`
6 TizenDeviceAPIPath=`readlink -e ../dlls/tizen_deviceapis/`
7 LauncherConfigPath=./dotnet-launcher.ini
8 RoslynCscDir=/home/idkiller/work/runtime/roslyn/Binaries/Debug/csccore
9 RoslynCscExe=csc
10
11 mkdir build
12 cd build
13 cmake -DCMAKE_BUILD_TYPE=Debug -DNO_TIZEN=1 -DLAUNCHER_CONFIG_PATH=$LauncherConfigPath -DLAUNCHER_ASSEMBLY_PATH=Tizen.Runtime.dll ../NativeLauncher/
14 make
15 xbuild /t:Clean ../Tizen.Runtime/Tizen.Runtime.csproj
16 #xbuild /verbosity:diagnostic /p:CLOG=1 /p:ExternalCscPath=/home/idkiller/work/runtime/roslyn/Binaries/Debug/csccore/csc.exe /p:LauncherConfigPath=$LauncherConfigPath /p:CoreFXRefPath=$CoreFXRefPath /p:TizenDeviceAPIPath=$TizenDeviceAPIPath ../Tizen.Runtime/Tizen.Runtime.csproj
17 xbuild /p:CLOG=1 /p:ExternalCscDir=$RoslynCscDir /p:ExternalCscExe=$RoslynCscExe /p:LauncherConfigPath=$LauncherConfigPath /p:CoreFXRefPath=$CoreFXRefPath /p:TizenDeviceAPIPath=$TizenDeviceAPIPath ../Tizen.Runtime/Tizen.Runtime.csproj
18 cp ../Tizen.Runtime/bin/Tizen.Runtime.* .
19 cp ../NativeLauncher/dotnet-launcher.ini .