diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-10-13 09:00:00 +0200 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-10-13 09:00:00 +0200 |
commit | 25235b778d57fcf4604eb6eaabf408702082a338 (patch) | |
tree | 44dec994486c90268e2d0244440bc71334621396 /tools/buildsteps | |
parent | 556f85e617b9619cf14eb076a992daf890de3ad6 (diff) |
[windows] support ADDON_SRC_PREFIX & ADDONS_DEFINITION_DIR in make-addons
Diffstat (limited to 'tools/buildsteps')
-rw-r--r-- | tools/buildsteps/windows/make-addons.bat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/make-addons.bat b/tools/buildsteps/windows/make-addons.bat index 45c30eb5f1..c68cf17052 100644 --- a/tools/buildsteps/windows/make-addons.bat +++ b/tools/buildsteps/windows/make-addons.bat @@ -85,6 +85,14 @@ IF "%addon%" NEQ "" ( SET CMAKE_EXTRA=%CMAKE_EXTRA% -DADDONS_TO_BUILD="%addon%" ) +IF "%ADDON_SRC_PREFIX%" NEQ "" ( + SET CMAKE_EXTRA=%CMAKE_EXTRA% -DADDON_SRC_PREFIX=%ADDON_SRC_PREFIX% +) + +IF "%ADDONS_DEFINITION_DIR" NEQ "" ( + SET CMAKE_EXTRA=%CMAKE_EXTRA% -DADDONS_DEFINITION_DIR=%ADDONS_DEFINITION_DIR% +) + IF "%store%" NEQ "" ( SET CMAKE_EXTRA=%CMAKE_EXTRA% -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=%UCRTVersion% ) |