Skip to content

Commit 714660e

Browse files
committed
wip
1 parent c5e25d0 commit 714660e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

win32/configure.bat

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ goto :loop ;
134134
goto :loop ;
135135
:witharg
136136
if "%opt%" == "--with-static-linked-ext" goto :extstatic
137+
if "%opt%" == "--with-vcpkg" goto :vcpkg
137138
if "%eq%" == "" (set "arg=%~1" & shift)
138139
if not "%arg%" == "" (
139140
echo>>%confargs% "%opt%=%arg:$=$$%" \
@@ -148,7 +149,6 @@ goto :loop ;
148149
if "%opt%" == "--with-gmp-dir" goto :opt-dir
149150
if "%opt%" == "--with-gmp" goto :gmp
150151
if "%opt%" == "--with-destdir" goto :destdir
151-
if "%opt%" == "--with-vcpkg" goto :vcpkg
152152
goto :loop ;
153153
:ntver
154154
::- For version constants, see
@@ -212,12 +212,17 @@ goto :loop ;
212212
if not "%arg%" == "" goto :optdir-loop
213213
goto :loop ;
214214
:vcpkg
215+
echo %eq%
216+
if "%~1" == "no" (set "arg=%~1" & shift)
217+
set d=
215218
if not "%arg%" == "no" if not "%VSCMD_ARG_TGT_ARCH%" == "" (
216219
pushd %WIN32DIR:/=\%\..
217-
call set "optdirs=%optdirs%;%%CD:\=/%%/vcpkg_installed/%VSCMD_ARG_TGT_ARCH%-windows"
220+
set "opt=--with-opt-dir"
221+
call set "arg=%%CD:\=/%%/vcpkg_installed/%VSCMD_ARG_TGT_ARCH%-windows"
218222
popd
223+
call set "optdirs=%optdirs%;%%arg%%"
219224
)
220-
goto :loop ;
225+
goto :loopend ;
221226
:help
222227
echo Configuration:
223228
echo --help display this help

0 commit comments

Comments
 (0)