shun-iwasawa 01f8f1
version: 1.4.0.{build}
Shinya Kitaoka dd3caa
pull_requests:
Shinya Kitaoka dd3caa
  do_not_increment_build_number: true
Shinya Kitaoka dd3caa
skip_tags: true
shun-iwasawa 6bac0f
image: Visual Studio 2019
Shinya Kitaoka dd3caa
configuration:
Shinya Kitaoka dd3caa
- Debug
Shinya Kitaoka dd3caa
- Release
Shinya Kitaoka dd3caa
platform: x64
Shinya Kitaoka dd3caa
clone_depth: 1
shun-iwasawa 6bac0f
cache: c:\tools\vcpkg\installed
Shinya Kitaoka dd3caa
install:
shun-iwasawa 6bac0f
- cmd: >- 
shun-iwasawa 6bac0f
    vcpkg install --clean-after-build --triplet x64-windows-static libjpeg-turbo
shun-iwasawa 6bac0f
Shinya Kitaoka dd3caa
- cmd: >-
shun-iwasawa 6bac0f
    choco install opencv
shun-iwasawa 6bac0f
Shinya Kitaoka dd3caa
    cd thirdparty
Shinya Kitaoka dd3caa
Shinya Kitaoka dd3caa
    copy /Y LibJPEG\jpeg-9\jconfig.vc LibJPEG\jpeg-9\jconfig.h
Shinya Kitaoka dd3caa
Shinya Kitaoka dd3caa
    copy /Y tiff-4.0.3\libtiff\tif_config.vc.h tiff-4.0.3\libtiff\tif_config.h
Shinya Kitaoka dd3caa
Shinya Kitaoka dd3caa
    copy /Y tiff-4.0.3\libtiff\tiffconf.vc.h tiff-4.0.3\libtiff\tiffconf.h
Shinya Kitaoka dd3caa
Shinya Kitaoka dd3caa
    copy /Y libpng-1.6.21\scripts\pnglibconf.h.prebuilt libpng-1.6.21\pnglibconf.h
Shinya Kitaoka dd3caa
shun-iwasawa 6bac0f
    mkdir libjpeg-turbo64\lib
shun-iwasawa 6bac0f
shun-iwasawa 6bac0f
    copy C:\tools\vcpkg\installed\x64-windows-static\lib\turbojpeg.lib libjpeg-turbo64\lib\turbojpeg.lib
shun-iwasawa 6bac0f
shun-iwasawa 6bac0f
    mkdir libjpeg-turbo64\include
shun-iwasawa 6bac0f
    
shun-iwasawa 6bac0f
    copy C:\tools\vcpkg\installed\x64-windows-static\include\* libjpeg-turbo64\include
Shinya Kitaoka dd3caa
Shinya Kitaoka dd3caa
    cd ../toonz
Shinya Kitaoka dd3caa
Shinya Kitaoka dd3caa
    mkdir %PLATFORM% && cd %PLATFORM%
Shinya Kitaoka dd3caa
shun-iwasawa 6bac0f
    cmake ..\sources -G "Visual Studio 16 2019" -Ax64 -DQT_PATH="C:\Qt\5.15.2\msvc2019_64" -DBOOST_ROOT="C:\Libraries\boost_1_73_0" -DOpenCV_DIR="C:\Tools\opencv\build"
Shinya Kitaoka dd3caa
build:
Shinya Kitaoka dd3caa
  project: $(APPVEYOR_BUILD_FOLDER)\toonz\$(PLATFORM)\ALL_BUILD.vcxproj
Shinya Kitaoka dd3caa
  parallel: true
Shinya Kitaoka dd3caa
  verbosity: minimal
Shinya Kitaoka dd3caa
after_build:
Shinya Kitaoka dd3caa
- cmd: >-
manongjohn 177532
    mkdir %CONFIGURATION%\OpenToonz
Shinya Kitaoka dd3caa
manongjohn 7c3cd0
    move %CONFIGURATION%\*.* %CONFIGURATION%\OpenToonz
shun-iwasawa 93480b
shun-iwasawa 6bac0f
    C:\Qt\5.15.2\msvc2019_64\bin\windeployqt.exe %CONFIGURATION%\OpenToonz\OpenToonz.exe
shun-iwasawa 93480b
manongjohn 177532
    copy /Y ..\..\thirdparty\glut\3.7.6\lib\glut64.dll %CONFIGURATION%\OpenToonz
shun-iwasawa 93480b
manongjohn 177532
    copy /Y ..\..\thirdparty\glew\glew-1.9.0\bin\64bit\glew32.dll %CONFIGURATION%\OpenToonz
manongjohn 177532
manongjohn 177532
    copy /Y ..\..\thirdparty\libmypaint\dist\64\libiconv-2.dll %CONFIGURATION%\OpenToonz
manongjohn 177532
manongjohn 177532
    copy /Y ..\..\thirdparty\libmypaint\dist\64\libintl-8.dll %CONFIGURATION%\OpenToonz
manongjohn 177532
manongjohn 177532
    copy /Y ..\..\thirdparty\libmypaint\dist\64\libjson-c-2.dll %CONFIGURATION%\OpenToonz
manongjohn 177532
    
manongjohn 177532
    copy /Y ..\..\thirdparty\libmypaint\dist\64\libmypaint-1-4-0.dll %CONFIGURATION%\OpenToonz
manongjohn 177532
shun-iwasawa 6bac0f
    copy /Y "C:\Tools\opencv\build\x64\vc15\bin\opencv_world412.dll" %CONFIGURATION%\OpenToonz
shun-iwasawa 6bac0f
manongjohn c85042
    mkdir "%CONFIGURATION%\OpenToonz stuff"
manongjohn 177532
manongjohn c85042
    xcopy /Y /E ..\..\stuff "%CONFIGURATION%\OpenToonz stuff"
shun-iwasawa 93480b
    
Shinya Kitaoka dd3caa
artifacts:
Shinya Kitaoka dd3caa
- path: toonz\$(PLATFORM)\$(CONFIGURATION)
shun-iwasawa f39ea0
  name: OpenToonz
Keisuke Ogaki 718bb4