diff options
author | Pär Björklund <per.bjorklund@gmail.com> | 2021-10-14 07:55:23 +0200 |
---|---|---|
committer | Pär Björklund <per.bjorklund@gmail.com> | 2021-10-14 07:55:23 +0200 |
commit | d233df9b94c92b6dec15066e69397e0e11312319 (patch) | |
tree | 153f681e92485fb48a7814cca21bb474ffb1f621 /tools/buildsteps/windows | |
parent | e14b3b70cef02ad9e26ebf37207476c78ace6d66 (diff) |
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
Diffstat (limited to 'tools/buildsteps/windows')
-rw-r--r-- | tools/buildsteps/windows/BuildSetup.bat | 14 |
1 files changed, 7 insertions, 7 deletions
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 ------------------------------------------------------------ |