EasyRPG / buildscripts

The scripts used to compile needed libraries for supported platform ports on our Jenkins server
https://ci.easyrpg.org/view/Toolchains/
Other
17 stars 18 forks source link

Migrate to vcpkg #46

Closed Ghabry closed 5 years ago

Ghabry commented 6 years ago

Fix #24

This will break our infrastructure.

The vcpkg is completely vanilla except for our custom ICU. You could use the vcpkg ICU but the only difference here is the executable size (20 MB smaller).

Ghabry commented 6 years ago

sometimes the build gets stuck but I guess that's a problem with the terminal we don't really have control about...

Ghabry commented 6 years ago

A good time for merging this is Friday. Then I have the whole evening to fix Jenkins.

Ghabry commented 6 years ago

New merge window: Wednesday 6 PM or Sunday 6 PM, next Friday is very bad timewise for me.

Will fix Editor, Player and Tools after this PR is merged, is only Jenkins work.

Ghabry commented 6 years ago

The Editor builds similiar to Player, just need to add Qt to the prefix path:

cmake . -GNinja -DSHARED_RUNTIME=OFF -DVCPKG_TARGET_TRIPLET=x86-windows-static^
  -DCMAKE_TOOLCHAIN_FILE="%EASYDEV_VCPKG%\scripts\buildsystems\vcpkg.cmake"^
  -DBUILD_SHARED_LIBS=OFF^
  -DCMAKE_INSTALL_PREFIX="%CD%\build" -DCMAKE_BUILD_TYPE=RelWithDebInfo^
  -DCMAKE_PREFIX_PATH="%WORKSPACE%\..\liblcf-win32\build;%QT_DIR%"
carstene1ns commented 5 years ago

Okay, it does not. So maybe checking for vcpkg.exe would be good.