cec: add SetOSDString() to the interface (not supported by all tvs)
[deb_libcec.git] / project / create-installer.cmd
1 @echo off
2
3 set NSIS="C:\Program Files (x86)\NSIS\makensis.exe"
4 set DDK=C:\WinDDK\7600.16385.1
5
6 IF "%VS100COMNTOOLS%"=="" (
7 set COMPILER="%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe"
8 ) ELSE IF EXIST "%VS100COMNTOOLS%\..\IDE\VCExpress.exe" (
9 set COMPILER="%VS100COMNTOOLS%\..\IDE\VCExpress.exe"
10 ) ELSE IF EXIST "%VS100COMNTOOLS%\..\IDE\devenv.exe" (
11 set COMPILER="%VS100COMNTOOLS%\..\IDE\devenv.exe"
12 )
13
14 rem Compile libCEC
15 echo Cleaning libCEC
16 %COMPILER% libcec.sln /clean Debug
17
18 echo Compiling libCEC
19 %COMPILER% libcec.sln /clean Debug
20 %COMPILER% libcec.sln /build Debug
21
22 rem Copy driver installer
23 echo Copying driver installer
24 copy "%DDK%\redist\DIFx\dpinst\MultiLin\amd64\dpinst.exe" ..\dpinst-amd64.exe
25 copy "%DDK%\redist\DIFx\dpinst\MultiLin\x86\dpinst.exe" ..\dpinst-x86.exe
26
27 rem Run the NSIS installer
28 echo Creating the installer
29 %NSIS% /V1 /X"SetCompressor /FINAL lzma" "libCEC.nsi"
30
31 echo The installer can be found here: libCEC-installer.exe