File tree 1 file changed +32
-3
lines changed
1 file changed +32
-3
lines changed Original file line number Diff line number Diff line change 1
1
setlocal
2
2
3
+ set boost_build_options = toolset=msvc-14.0^
4
+ variant=release^
5
+ link=static^
6
+ threading=multi^
7
+ runtime-link=static^
8
+ define=BOOST_USE_WINAPI_VERSION=0x0501^
9
+ cxxflags=" /Zc:threadSafeInit- " ^
10
+ --with-date_time^
11
+ --with-filesystem^
12
+ --with-locale^
13
+ --with-regex^
14
+ --with-system^
15
+ --with-thread
16
+
3
17
set nocache = 0
4
18
5
19
if not exist thirdparty.cached set nocache = 1
@@ -11,7 +25,7 @@ if %nocache% == 1 (
11
25
7z x boost_1_68_0.7z | find " ing archive"
12
26
cd boost_1_68_0
13
27
call .\bootstrap.bat
14
- call .\b2.exe --prefix=%BOOST_ROOT% toolset=msvc-14.0 variant=release link=static threading=multi runtime-link=static define=BOOST_USE_WINAPI_VERSION= 0x0501 cxxflags= " /Zc:threadSafeInit- " --with-date_time --with-filesystem --with-locale --with-regex --with-system --with-thread -q -d0 install
28
+ call .\b2.exe --prefix=%BOOST_ROOT% %boost_build_options% -q -d0 install
15
29
xcopy /e /i /y /q %BOOST_ROOT% \include\boost-1_68\boost %BOOST_ROOT% \boost
16
30
popd
17
31
if %ERRORLEVEL% NEQ 0 goto ERROR
@@ -23,17 +37,32 @@ if %nocache% == 1 (
23
37
echo .
24
38
echo Thirdparty libraries installed.
25
39
echo .
26
- goto EXIT
27
40
) else (
28
41
echo .
29
42
echo Last build date of cache is
30
43
type thirdparty.cached
31
44
echo .
32
- goto EXIT
33
45
)
34
46
47
+ if defined RIME_PLUGINS (
48
+ for %%s in (%RIME_PLUGINS% ) do call :install_plugin %%s
49
+ )
50
+
51
+ goto EXIT
52
+
35
53
:ERROR
36
54
set EXITCODE = %ERRORLEVEL%
37
55
38
56
:EXIT
39
57
exit /b %EXITCODE%
58
+
59
+ :install_plugin
60
+ set slug = %1
61
+ echo " plugin: %slug% "
62
+ set plugin_project = %slug:*/ =%
63
+ set plugin_dir = plugins/%plugin_project:librime- =%
64
+ git clone --depth 1 " https://github.com/%slug% .git" %plugin_dir%
65
+ if exist %plugin_dir% \appveyor.install.bat (
66
+ call %plugin_dir% \appveyor.install.bat
67
+ )
68
+ exit /b
You can’t perform that action at this time.
0 commit comments