Basename bug fixed
[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 RoslynCscDir=/home/idkiller/work/runtime/roslyn/Binaries/Debug/csccore
8 RoslynCscExe=csc
9
10 RuntimeDir=/usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0
11 TizenDeviceAPIDir=`readlink -e ../dlls/tizen_deviceapis/`
12 PreloadPath=`readlink -e ./preloads`
13
14
15 mkdir build
16 cd build
17 #xbuild /t:Clean ../Tizen.Runtime/Tizen.Runtime.csproj
18 #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
19 #xbuild /p:CLOG=1 /p:ExternalCscDir=$RoslynCscDir /p:ExternalCscExe=$RoslynCscExe /p:LauncherConfigPath=$LauncherConfigPath /p:CoreFXRefPath=$CoreFXRefPath /p:TizenDeviceAPIPath=$TizenDeviceAPIPath /p:PreloadPath=$PreloadPath ../Tizen.Runtime/Tizen.Runtime.csproj
20 #cp ../Tizen.Runtime/bin/Tizen.Runtime.* .
21
22 cmake -DCMAKE_BUILD_TYPE=Debug -DNO_TIZEN=1 -DLAUNCHER_ASSEMBLY_PATH=Tizen.Runtime.exe -DDEVICE_API_DIR=$TizenDeviceAPIDir -DRUNTIME_DIR=$RuntimeDir ../NativeLauncher/
23 make -j16