repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: keep the mutex locked when calling ReplaceHandlers() in CCECProcessor
[deb_libcec.git]
/
support
/
create-installer.cmd
diff --git
a/support/create-installer.cmd
b/support/create-installer.cmd
index 6a6648679799c7fa75b57cf2470a3a9417613618..5023ddc3696b83bd36636bf3917f308ef0300afa 100644
(file)
--- a/
support/create-installer.cmd
+++ b/
support/create-installer.cmd
@@
-20,12
+20,15
@@
IF "%VS100COMNTOOLS%"=="" (
set COMPILER10="%VS100COMNTOOLS%\..\IDE\devenv.exe"
) ELSE GOTO NOSDK10
set COMPILER10="%VS100COMNTOOLS%\..\IDE\devenv.exe"
) ELSE GOTO NOSDK10
-cd ..\project
-
del /s /f /q ..\build
mkdir ..\build
del /s /f /q ..\build
mkdir ..\build
+
+call create-driver-installer.cmd
+
mkdir ..\build\x64
mkdir ..\build\x64
+cd ..\project
+
rem Skip to libCEC/x86 when we're running on win32
if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto libcecx86
rem Skip to libCEC/x86 when we're running on win32
if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto libcecx86
@@
-77,19
+80,15
@@
echo. Compiling LibCecSharp (x86)
%COMPILER9% LibCecSharp.sln /build "Release|x86" /project CecSharpTester
:NOSDK9
%COMPILER9% LibCecSharp.sln /build "Release|x86" /project CecSharpTester
:NOSDK9
-echo. Copying driver installer
-copy "%DDK%\redist\DIFx\dpinst\MultiLin\amd64\dpinst.exe" ..\build\dpinst-amd64.exe
-copy "%DDK%\redist\DIFx\dpinst\MultiLin\x86\dpinst.exe" ..\build\dpinst-x86.exe
-
rem Clean things up before creating the installer
rem Clean things up before creating the installer
-del ..\build\LibCecSharp.pdb
-del ..\build\CecSharpTester.pdb
+del
/q /f
..\build\LibCecSharp.pdb
+del
/q /f
..\build\CecSharpTester.pdb
copy ..\build\cec-client.x64.exe ..\build\x64\cec-client.x64.exe
copy ..\build\cec-client.x64.exe ..\build\x64\cec-client.x64.exe
-del ..\build\cec-client.x64.exe
+del
/q /f
..\build\cec-client.x64.exe
copy ..\build\libcec.x64.dll ..\build\x64\libcec.x64.dll
copy ..\build\libcec.x64.dll ..\build\x64\libcec.x64.dll
-del ..\build\libcec.x64.dll
+del
/q /f
..\build\libcec.x64.dll
copy ..\build\libcec.x64.lib ..\build\x64\libcec.x64.lib
copy ..\build\libcec.x64.lib ..\build\x64\libcec.x64.lib
-del ..\build\libcec.x64.lib
+del
/q /f
..\build\libcec.x64.lib
rem Check for sign-binary.cmd, only present on the Pulse-Eight production build system
rem Calls signtool.exe and signs the DLLs with Pulse-Eight's code signing key
rem Check for sign-binary.cmd, only present on the Pulse-Eight production build system
rem Calls signtool.exe and signs the DLLs with Pulse-Eight's code signing key
@@
-136,4
+135,11
@@
GOTO EXIT
echo. The installer could not be created. The most likely cause is that something went wrong while compiling.
:EXIT
echo. The installer could not be created. The most likely cause is that something went wrong while compiling.
:EXIT
+del /q /f ..\build\cec-client.exe
+del /q /f ..\build\CecSharpTester.exe
+del /q /f ..\build\*.dll
+del /q /f ..\build\*.lib
+del /q /f ..\build\*.exp
+del /s /f /q ..\build\x64
+rmdir ..\build\x64
cd ..\support
\ No newline at end of file
cd ..\support
\ No newline at end of file