aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-07-12 21:01:16 +0200
committermontellese <montellese@xbmc.org>2014-07-12 21:01:16 +0200
commit2ea0cb0b8f619b01dc6b21adc0bf1968675889bf (patch)
treed45df31b27e2646129cf1234e16b21beafabef4b /tools/buildsteps
parentba058e93cfdc0544edaee6891f4cc43e0a4c6027 (diff)
[win32] cmake: make sure to run Release builds
Diffstat (limited to 'tools/buildsteps')
-rw-r--r--tools/buildsteps/win32/make-addon-depends.bat4
-rw-r--r--tools/buildsteps/win32/make-addons.bat1
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/buildsteps/win32/make-addon-depends.bat b/tools/buildsteps/win32/make-addon-depends.bat
index c9a3c0b5a5..3016b83043 100644
--- a/tools/buildsteps/win32/make-addon-depends.bat
+++ b/tools/buildsteps/win32/make-addon-depends.bat
@@ -47,7 +47,9 @@ rem go into the build directory
CD "%ADDON_DEPENDS_BUILD_PATH%"
rem execute cmake to generate makefiles processable by nmake
-cmake "%ADDON_DEPENDS_PATH%" -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX=%ADDONS_OUTPUT_PATH%
+cmake "%ADDON_DEPENDS_PATH%" -G "NMake Makefiles" ^
+ -DCMAKE_BUILD_TYPE=Release ^
+ -DCMAKE_INSTALL_PREFIX=%ADDONS_OUTPUT_PATH%
IF ERRORLEVEL 1 (
ECHO cmake error level: %ERRORLEVEL% > %ERRORFILE%
GOTO ERROR
diff --git a/tools/buildsteps/win32/make-addons.bat b/tools/buildsteps/win32/make-addons.bat
index b588634ccc..b6bb3664dc 100644
--- a/tools/buildsteps/win32/make-addons.bat
+++ b/tools/buildsteps/win32/make-addons.bat
@@ -64,6 +64,7 @@ CD "%ADDONS_BUILD_PATH%"
rem execute cmake to generate makefiles processable by nmake
cmake "%ADDONS_PATH%" -G "NMake Makefiles" ^
+ -DCMAKE_BUILD_TYPE=Release ^
-DXBMCROOT=%WORKDIR% ^
-DDEPENDS_PATH=%ADDON_DEPENDS_PATH% ^
-DCMAKE_INSTALL_PREFIX=%WORKDIR%\project\Win32BuildSetup\BUILD_WIN32\Xbmc\xbmc-addons ^