aboutsummaryrefslogtreecommitdiff
path: root/tools/windows
diff options
context:
space:
mode:
authorNick Renieris <makren67@gmail.com>2017-10-31 16:43:21 +0200
committerGitHub <noreply@github.com>2017-10-31 16:43:21 +0200
commit4eddfbc5d4137ac636742b76c50d01cfd89fad98 (patch)
tree1da8fe01ef79f5101e11189b6c46b24e0d6b7a99 /tools/windows
parentddd4af57e57f741136000ade297a52acebff1371 (diff)
[addons][fix] Generate proj. files on Release mode
This is a fix that binary add-on devs have had to do manually for a while now for the build system to work. Credits: @Montellese who suggested it 2 years ago: https://forum.kodi.tv/showthread.php?tid=173361&pid=2097898#pid2097898. For some reason no-one has PR'ed it yet, so I did.
Diffstat (limited to 'tools/windows')
-rw-r--r--tools/windows/prepare-binary-addons-dev.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/windows/prepare-binary-addons-dev.bat b/tools/windows/prepare-binary-addons-dev.bat
index a6d4603128..423380b17f 100644
--- a/tools/windows/prepare-binary-addons-dev.bat
+++ b/tools/windows/prepare-binary-addons-dev.bat
@@ -77,7 +77,7 @@ IF "%addon%" NEQ "" (
rem execute cmake to generate Visual Studio 12 project files
cmake "%ADDONS_PATH%" -G "Visual Studio 14" ^
- -DCMAKE_BUILD_TYPE=Debug ^
+ -DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_USER_MAKE_RULES_OVERRIDE="%SCRIPTS_PATH%/CFlagOverrides.cmake" ^
-DCMAKE_USER_MAKE_RULES_OVERRIDE_CXX="%SCRIPTS_PATH%/CXXFlagOverrides.cmake" ^
-DCMAKE_INSTALL_PREFIX=%WORKDIR%\addons ^