aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2014-06-20 08:44:00 +0200
committermontellese <montellese@xbmc.org>2014-07-17 20:50:29 +0200
commit0152e57239c4bf8311cb86fbb38d3a7311c179a3 (patch)
tree1fd37051f6f6c9530c2f3bddf257967626a09aab /tools
parenta89141512e1d0ce638cf34fa0a01f1cda9c11779 (diff)
[win32] add cmake C/CXX compiler flag override files
Diffstat (limited to 'tools')
-rw-r--r--tools/buildsteps/win32/make-addons.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildsteps/win32/make-addons.bat b/tools/buildsteps/win32/make-addons.bat
index b6bb3664dc..883bc45b3f 100644
--- a/tools/buildsteps/win32/make-addons.bat
+++ b/tools/buildsteps/win32/make-addons.bat
@@ -65,6 +65,8 @@ CD "%ADDONS_BUILD_PATH%"
rem execute cmake to generate makefiles processable by nmake
cmake "%ADDONS_PATH%" -G "NMake Makefiles" ^
-DCMAKE_BUILD_TYPE=Release ^
+ -DCMAKE_USER_MAKE_RULES_OVERRIDE="%BASE_PATH%/xbmc-c-flag-overrides.cmake" ^
+ -DCMAKE_USER_MAKE_RULES_OVERRIDE_CXX="%BASE_PATH%/xbmc-cxx-flag-overrides.cmake" ^
-DXBMCROOT=%WORKDIR% ^
-DDEPENDS_PATH=%ADDON_DEPENDS_PATH% ^
-DCMAKE_INSTALL_PREFIX=%WORKDIR%\project\Win32BuildSetup\BUILD_WIN32\Xbmc\xbmc-addons ^