From d233df9b94c92b6dec15066e69397e0e11312319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A4r=20Bj=C3=B6rklund?= Date: Thu, 14 Oct 2021 07:55:23 +0200 Subject: Remove some errors during build We should never see any of these files during build but to be on the safe side, exclude them during copy instead of trying to delete them, generating errors --- tools/buildsteps/windows/BuildSetup.bat | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools/buildsteps') diff --git a/tools/buildsteps/windows/BuildSetup.bat b/tools/buildsteps/windows/BuildSetup.bat index 4be17dc9c4..7a58767ebd 100644 --- a/tools/buildsteps/windows/BuildSetup.bat +++ b/tools/buildsteps/windows/BuildSetup.bat @@ -121,6 +121,11 @@ set WORKSPACE=%base_dir%\kodi-build.%TARGET_PLATFORM% Echo xbmc.old.log>>exclude.txt Echo kodi.log>>exclude.txt Echo kodi.old.log>>exclude.txt + Echo .so>>exclude.txt + Echo .h>>exclude.txt + Echo .cpp>>exclude.txt + Echo .exp>>exclude.txt + Echo .lib>>exclude.txt rem Exclude userdata files Echo userdata\advancedsettings.xml>>exclude.txt Echo userdata\guisettings.xml>>exclude.txt @@ -189,13 +194,8 @@ set WORKSPACE=%base_dir%\kodi-build.%TARGET_PLATFORM% COLOR 1B TITLE %APP_NAME% for Windows Build Script - IF EXIST exclude.txt del exclude.txt > NUL - IF EXIST exclude_dll.txt del exclude_dll.txt > NUL - del /s /q /f BUILD_WIN32\application\*.so > NUL - del /s /q /f BUILD_WIN32\application\*.h > NUL - del /s /q /f BUILD_WIN32\application\*.cpp > NUL - del /s /q /f BUILD_WIN32\application\*.exp > NUL - del /s /q /f BUILD_WIN32\application\*.lib > NUL + IF EXIST exclude.txt del exclude.txt > NUL + IF EXIST exclude_dll.txt del exclude_dll.txt > NUL POPD ECHO ------------------------------------------------------------ -- cgit v1.2.3