-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preliminary support of meson builds.
- Loading branch information
Showing
28 changed files
with
670 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
version: 1.0.{build} | ||
|
||
configuration: | ||
- New_Dynarec_Release | ||
- Release | ||
|
||
platform: | ||
- x86 | ||
- x64 | ||
|
||
matrix: | ||
exclude: | ||
- platform: x64 | ||
configuration: New_Dynarec_Release | ||
install: | ||
- cmd: set "ORIG_PATH=%PATH%" | ||
# Use a Ninja with QuLogic's patch: https://github.com/ninja-build/ninja/issues/1219 | ||
- cmd: set "MESON_FIXED_NINJA=1" | ||
- ps: (new-object net.webclient).DownloadFile('http://nirbheek.in/files/binaries/ninja/win32/ninja.exe', 'C:\projects\meson\ninja.exe') | ||
# Use the x86 python only when building for x86 for the cpython tests. | ||
# For all other archs (including, say, arm), use the x64 python. | ||
- cmd: if %arch%==x86 (set MESON_PYTHON_PATH=C:\python34) else (set MESON_PYTHON_PATH=C:\python34-x64) | ||
- cmd: if %compiler%==msvc2010 ( call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" %arch% ) | ||
- cmd: if %compiler%==msvc2013 ( call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" %arch% ) | ||
- cmd: if %compiler%==msvc2015 ( call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %arch% ) | ||
- cmd: echo Using Python at %MESON_PYTHON_PATH% | ||
- cmd: "%MESON_PYTHON_PATH%\\pip install meson" | ||
|
||
build_script: | ||
- cmd: echo Building on %arch% with %compiler% | ||
- cmd: PATH=%cd%;%MESON_PYTHON_PATH%;%PATH%; && python meson.py --backend=ninja builddir | ||
- cmd: PATH=%cd%;%MESON_PYTHON_PATH%;%PATH%; && ninja -C builddir | ||
|
||
before_build: | ||
- cmd: git clone --depth 1 https://github.com/mupen64plus/mupen64plus-win32-deps.git ../mupen64plus-win32-deps | ||
build: | ||
project: projects/VisualStudio2013/mupen64plus-core.vcxproj | ||
verbosity: minimal | ||
on_finish: | ||
- cmd: set "PATH=%ORIG_PATH%" |
Oops, something went wrong.