Move to vcpkg
vcpkg is a C++ package manager. By using it, we could reduce our dependence on current versions of packages in brew, apt, pacman and other system package managers without needing to manually compile every library ourselves. vcpkg drives the compilation for us.
Every library we use is already in vcpkg.
ToDo:
-
Solve Issue #126 (closed), since OpenCV 4.2 is not in vcpkg, 4.5 is -
Update ezc3d in vcpkg (should be an easy PR; need to sign CLA though) -
Maybe add an overlay port for Qt (so we can continue downloading binaries for that, since it takes quite a long time to build)
Discuss:
- How to distribute vcpkg itself?
I'd argue for a submodule. That way we can code the path to vcpkg into our CMakeLists.txt and would only need to start configuring our project for vcpkg to install everything by itself (including its own executable).
Another possibility would be FetchContent
from CMake to download the repo.
Edited by d.kilic