ModOrganizer2 / mob

Mod Organizer Builder.
15 stars 22 forks source link

Enable move to VCPKG #142

Open Holt59 opened 4 months ago

Holt59 commented 4 months ago

PR Content

This PR contains the change for mob to use VCPKG instead of custom stuff to build third-party dependencies. The only things that should be build by mob after this are:

Aside from removing the tasks for third-party dependencies, the main changes for mob is the use of the CMake presets from the various MO2 repository and the use of cmake itself to build install (prior to this mob would call msbuild).

VCPKG

Most dependencies are fetch from the official VCPKG registry, but some are built from MO2 registry.

The dependencies that are prefixed with mo2- are specific to MO2:

The other dependencies are either not part of MO2 directly but either not available on the official registry (e.g. libloot) or require slight changes.

cmake_common

The cmake_common utilities are now available as a VCPKG port called mo2-cmake. I made a lot of refactoring to remove not very useful stuff and allow more flexibility when using the available functions:

To-Do List