blob: c30ccfc40de246dc2d724c56cdd82361118e01aa [file] [log] [blame]
James E. King III860a5f12018-03-06 14:23:23 -05001::
2:: Licensed under the Apache License, Version 2.0 (the "License");
3:: you may not use this file except in compliance with the License.
4:: You may obtain a copy of the License at
5::
6:: http://www.apache.org/licenses/LICENSE-2.0
7::
8:: Unless required by applicable law or agreed to in writing, software
9:: distributed under the License is distributed on an "AS IS" BASIS,
10:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11:: See the License for the specific language governing permissions and
12:: limitations under the License.
13::
14
15::
16:: Appveyor install script for CYGWIN
17:: Installs third party packages we need for a cmake build
18::
19
20@ECHO OFF
21SETLOCAL EnableDelayedExpansion
22
Mario Emmenlauere14ac852021-08-05 09:33:50 +020023CD build\appveyor || EXIT /B
Mario Emmenlauer9e3ac852021-08-05 12:42:21 +020024CALL win_banner_install.bat || EXIT /B
25CALL win_setenv.bat || EXIT /B
26CALL win_showenv.bat || EXIT /B
James E. King III860a5f12018-03-06 14:23:23 -050027
28::
James E. King III3ec40312019-01-31 18:35:51 -050029:: Upgrades cygwin to the latest, if you want...
30::
31:: appveyor DownloadFile "https://cygwin.com/setup-x86_64.exe"
32:: setup-x86_64.exe --quiet-mode --wait --upgrade-also --packages="gcc-g++"
33
34::
James E. King III860a5f12018-03-06 14:23:23 -050035:: Install apt-cyg for package management
36::
37
38%BASH% -lc "wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg && install apt-cyg /bin && rm -f apt-cyg" || EXIT /B
39%BASH% -lc "apt-cyg update" || EXIT /B
Mario Emmenlauere14ac852021-08-05 09:33:50 +020040%BASH% -lc "apt-cyg install bison cmake flex gcc-g++ libboost-devel libevent-devel make openssl-devel xz zlib-devel" || EXIT /B