diff options
author | montellese <montellese@xbmc.org> | 2014-08-02 20:15:46 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2014-08-02 20:16:02 +0200 |
commit | df64d82963053ed3a340043f2324eef6f174ecec (patch) | |
tree | aba8707737463f6a2fb90b534e177d3277681d19 /tools/buildsteps | |
parent | c3a6dfb4ddaf6c1b04b30ea474f512d67c549853 (diff) |
[win32] binary addons: integrate DEPENDS_TO_BUILD parameter
Diffstat (limited to 'tools/buildsteps')
-rw-r--r-- | tools/buildsteps/win32/make-addon-depends.bat | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/buildsteps/win32/make-addon-depends.bat b/tools/buildsteps/win32/make-addon-depends.bat index b53dbfc72e..d649445a37 100644 --- a/tools/buildsteps/win32/make-addon-depends.bat +++ b/tools/buildsteps/win32/make-addon-depends.bat @@ -58,13 +58,19 @@ IF NOT EXIST "%ADDON_DEPENDS_BUILD_PATH%" MKDIR "%ADDON_DEPENDS_BUILD_PATH%" rem go into the build directory CD "%ADDON_DEPENDS_BUILD_PATH%" +SET DEPENDS_TO_BUILD="all" +IF "%dependency%" NEQ "" ( + SET DEPENDS_TO_BUILD="%dependency%" +) + rem execute cmake to generate makefiles processable by nmake cmake "%ADDON_DEPENDS_PATH%" -G "NMake Makefiles" ^ -DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_USER_MAKE_RULES_OVERRIDE="%SCRIPTS_PATH%/xbmc-c-flag-overrides.cmake" ^ -DCMAKE_USER_MAKE_RULES_OVERRIDE_CXX="%SCRIPTS_PATH%/xbmc-cxx-flag-overrides.cmake" ^ ^ -DCMAKE_INSTALL_PREFIX=%ADDONS_OUTPUT_PATH% ^ - -DARCH_DEFINES="-DTARGET_WINDOWS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_USE_32BIT_TIME_T -D_WINSOCKAPI_" + -DARCH_DEFINES="-DTARGET_WINDOWS -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_USE_32BIT_TIME_T -D_WINSOCKAPI_" ^ + -DDEPENDS_TO_BUILD="%DEPENDS_TO_BUILD%" IF ERRORLEVEL 1 ( ECHO cmake error level: %ERRORLEVEL% > %ERRORFILE% GOTO ERROR |