2015-11-04 09:30:27 -05:00
|
|
|
goto %TOOLSET%
|
|
|
|
|
|
|
|
:msbuild
|
|
|
|
cd build\msw
|
|
|
|
msbuild /m:2 /v:n /p:Platform=%ARCH% /p:Configuration="%CONFIGURATION%" wx_vc12.sln
|
|
|
|
goto :eof
|
|
|
|
|
|
|
|
:nmake
|
|
|
|
cd build\msw
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio %VS%\VC\vcvarsall.bat" %ARCH%
|
|
|
|
nmake -f makefile.vc BUILD=%BUILD%
|
|
|
|
goto :eof
|
|
|
|
|
|
|
|
:mingw
|
|
|
|
cd build\msw
|
|
|
|
path C:\MinGW\bin;%path%
|
2015-11-07 17:36:10 -05:00
|
|
|
echo --- Tools versions:
|
|
|
|
g++ --version | head -1
|
|
|
|
mingw32-make --version | head -1
|
|
|
|
ar --version | head -1
|
2015-12-04 07:08:22 -05:00
|
|
|
path C:\MinGW\bin;
|
2015-11-07 17:36:10 -05:00
|
|
|
echo.
|
|
|
|
echo --- Starting the build
|
|
|
|
echo.
|
2015-12-04 07:08:22 -05:00
|
|
|
mingw32-make -f makefile.gcc setup_h BUILD=debug SHARED=0
|
|
|
|
mingw32-make -j3 -f makefile.gcc BUILD=debug SHARED=0
|
2015-11-04 09:30:27 -05:00
|
|
|
goto :eof
|
|
|
|
|
|
|
|
:msys2
|
|
|
|
path C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%path%
|
|
|
|
set CHERE_INVOKING=yes
|
|
|
|
:: Workaround for "configure: Bad file descriptor"
|
|
|
|
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
|
|
|
|
bash -lc "g++ --version"
|
2016-07-24 13:27:04 -04:00
|
|
|
bash -lc "CXXFLAGS=-Wno-deprecated-declarations ./configure --disable-optimise && make -j3"
|
2015-11-04 09:30:27 -05:00
|
|
|
goto :eof
|
|
|
|
|
|
|
|
:cygwin
|
|
|
|
C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P libjpeg-devel -P libpng-devel -P libtiff-devel -P libexpat-devel
|
|
|
|
path c:\cygwin\bin;%path%
|
|
|
|
set CHERE_INVOKING=yes
|
|
|
|
:: Workaround for "configure: Bad file descriptor"
|
|
|
|
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
|
2017-11-03 10:46:33 -04:00
|
|
|
:: Workaround for currently broken Python under Cygwin: don't use it for
|
|
|
|
:: running gen_iface.py.
|
|
|
|
touch include/wx/stc/stc.h
|
2015-11-04 09:30:27 -05:00
|
|
|
bash -lc "g++ --version"
|
2016-07-24 13:27:04 -04:00
|
|
|
bash -lc "LDFLAGS=-L/usr/lib/w32api ./configure --disable-optimise --disable-shared && make -j3"
|
2015-11-04 09:30:27 -05:00
|
|
|
goto :eof
|