aboutsummaryrefslogtreecommitdiff
path: root/build-msvc.bat.in
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-11-16 23:38:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-11-17 18:49:58 +0300
commit3860ef4ca137e121aa7f7ba1ff5e531d0acfef12 (patch)
treeb283df355683ebc009f0e3643c7db825ba8cd0b4 /build-msvc.bat.in
parent088c7148422b9bb28c0ec54d9e76ec23c9c1ef47 (diff)
Make use of bpkg --all-pattern option in build scripts and installation documentation
Diffstat (limited to 'build-msvc.bat.in')
-rw-r--r--build-msvc.bat.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/build-msvc.bat.in b/build-msvc.bat.in
index 46c5ddb..bf00a6b 100644
--- a/build-msvc.bat.in
+++ b/build-msvc.bat.in
@@ -475,21 +475,19 @@ bdep --version
@rem Build, install, and verify the build system modules.
@rem
@set "packages="
-@set "package_versions="
@set "tests="
@for %%m in (%modules%) do @(
- set "packages=!packages! libbuild2-%%m"
- set "package_versions=!package_versions! libbuild2-%%m/!%%m_ver!"
+ set "packages=!packages! libbuild2-%%m/!%%m_ver!"
set "tests=!tests! tests\libbuild2-%%m-tests\"
)
@if "_%packages%_" == "__" goto mods_ipe
-bpkg build --for install %package_versions:~1%
+bpkg build --for install %packages:~1%
@if errorlevel 1 goto error
-bpkg install %packages:~1%
+bpkg install --all-pattern=libbuild2-*
@if errorlevel 1 goto error
:mods_ipe