To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / deploy / win64 / build-64.bat @ 112:7d82811c490a

History | View | Annotate | Download (2.22 KB)

1
rem  Run this from within the top-level SV dir: deploy\win64\build-64.bat
2
rem  To build from clean, delete the folder build_win64 first
3

    
4
echo on
5

    
6
set STARTPWD=%CD%
7

    
8
set QTDIR=C:\Qt\5.12.2\msvc2017_64
9
if not exist %QTDIR% (
10
@   echo Could not find 64-bit Qt
11
@   exit /b 2
12
)
13

    
14
if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" (
15
@   echo "Could not find MSVC vars batch file"
16
@   exit /b 2
17
)
18

    
19
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
20

    
21
set ORIGINALPATH=%PATH%
22
set PATH=%PATH%;C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin
23

    
24
cd %STARTPWD%
25

    
26
call .\repoint install
27
if %errorlevel% neq 0 exit /b %errorlevel%
28

    
29
sv-dependency-builds\win64-msvc\bin\capnp -Isv-dependency-builds/win64-msvc/include compile --src-prefix=piper/capnp -osv-dependency-builds/win64-msvc/bin/capnpc-c++:piper-vamp-cpp/vamp-capnp piper/capnp/piper.capnp
30
if %errorlevel% neq 0 exit /b %errorlevel%
31

    
32
mkdir build_win64
33
cd build_win64
34

    
35
qmake -spec win32-msvc -r -tp vc ..\vect.pro
36
if %errorlevel% neq 0 exit /b %errorlevel%
37

    
38
msbuild vect.sln /t:Build /p:Configuration=Release
39
if %errorlevel% neq 0 exit /b %errorlevel%
40

    
41
copy .\checker\release\vamp-plugin-load-checker.exe .\release
42

    
43
copy %QTDIR%\bin\Qt5Core.dll .\release
44
copy %QTDIR%\bin\Qt5Gui.dll .\release
45
copy %QTDIR%\bin\Qt5Widgets.dll .\release
46
copy %QTDIR%\bin\Qt5Network.dll .\release
47
copy %QTDIR%\bin\Qt5Xml.dll .\release
48
copy %QTDIR%\bin\Qt5Svg.dll .\release
49
copy %QTDIR%\bin\Qt5Test.dll .\release
50
copy %QTDIR%\plugins\platforms\qminimal.dll .\release
51
copy %QTDIR%\plugins\platforms\qwindows.dll .\release
52
copy %QTDIR%\plugins\styles\qwindowsvistastyle.dll .\release
53
copy ..\sv-dependency-builds\win64-msvc\lib\libsndfile-1.dll .\release
54

    
55
rem some of these expect to be run from the project root
56
cd ..
57
build_win64\release\test-svcore-base
58
if %errorlevel% neq 0 exit /b %errorlevel%
59
build_win64\release\test-svcore-system
60
if %errorlevel% neq 0 exit /b %errorlevel%
61
build_win64\release\test-svcore-data-fileio
62
if %errorlevel% neq 0 exit /b %errorlevel%
63
build_win64\release\test-svcore-data-model
64
if %errorlevel% neq 0 exit /b %errorlevel%
65

    
66
set PATH=%ORIGINALPATH%