Mercurial > hg > vamp-plugin-pack
changeset 15:1d86ed252be7
Some Win64 bits
author | Chris Cannam |
---|---|
date | Sat, 23 Nov 2019 11:04:39 +0000 |
parents | d3a362b3d513 |
children | 3bff037dcae3 |
files | .hgignore aubio-link/aubio aubio-link/aubio/aubio.h deploy/win64/build-64.bat noconfig.pri |
diffstat | 5 files changed, 47 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Fri Nov 22 09:59:53 2019 +0000 +++ b/.hgignore Sat Nov 23 11:04:39 2019 +0000 @@ -33,3 +33,4 @@ out/*_README.txt out/*_CITATION.txt out/*_COPYING.txt +build_win64
--- a/aubio-link/aubio Fri Nov 22 09:59:53 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -../aubio/src \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aubio-link/aubio/aubio.h Sat Nov 23 11:04:39 2019 +0000 @@ -0,0 +1,3 @@ + +#include "../../aubio/src/aubio.h" +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy/win64/build-64.bat Sat Nov 23 11:04:39 2019 +0000 @@ -0,0 +1,42 @@ +rem Run this from within the top-level SV dir: deploy\win64\build-64.bat +rem To build from clean, delete the folder build_win64 first + +echo on + +set STARTPWD=%CD% + +set QTDIR=C:\Qt\5.13.2\msvc2017_64 +if not exist %QTDIR% ( +@ echo Could not find 64-bit Qt in %QTDIR% +@ exit /b 2 +) + +set vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" + +if not exist %vcvarsall% ( +@ echo "Could not find MSVC vars batch file" +@ exit /b 2 +) + +call %vcvarsall% amd64 + +set ORIGINALPATH=%PATH% +set PATH=%PATH%;C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin + +cd %STARTPWD% + +call .\repoint install +if %errorlevel% neq 0 exit /b %errorlevel% + +mkdir build_win64 +cd build_win64 + +qmake -spec win32-msvc -r -tp vc ..\vamp-plugin-pack.pro +if %errorlevel% neq 0 exit /b %errorlevel% + +msbuild vamp-plugin-pack.sln /t:Build /p:Configuration=Release +if %errorlevel% neq 0 exit /b %errorlevel% + +cd .. + +set PATH=%ORIGINALPATH%