18 lines
545 B
Batchfile
18 lines
545 B
Batchfile
REM Set up Visual Studio x64 environment
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
|
|
|
REM Install Open*IO libraries
|
|
vcpkg install opencolorio
|
|
vcpkg install openimageio
|
|
|
|
REM Run cmake
|
|
cmake -G "NMake Makefiles" .
|
|
|
|
REM Build
|
|
nmake
|
|
|
|
REM Check if this build should set up a debugging session
|
|
IF "%ENABLE_RDP%"=="1" (
|
|
powershell -command "$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))"
|
|
)
|