mondradiko / mdo-core

1 stars 1 forks source link

vcpkg seriously borks #30

Open marceline-cramer opened 3 years ago

marceline-cramer commented 3 years ago

Is there any reason to keep it? Seriously, there has to be a good reason.

Pros of vcpkg:

Cons of vcpkg:

This fucking sucks!

How about instead, we do CMake dependency wrangling through simple find_package calls... nothing too fancy, dependencies can be handled per-operating system as appropriate, and users of those operating systems are made responsible for setting up their own development environment, instead of having the build system actively making all of that harder.

Linux package repositories, even the most minimal ones like Debian, have all the basic dependencies (SDL, OpenXR, Vulkan, libuv, etc.), and anything else that isn't in the package repos we can drop in either in-tree as source (FLECS, Tracy), in-tree as compiled binaries (Wasmtime), or as a submodule as a last resort. Dependencies on Windows can be managed with the already existing package managers like Chocolatey. There is absolutely zero need for any extra complexity.

We can always modify/upgrade this later, if the need makes itself apparent. Anything past that is unnecessary complexity and stress.

Thoughts?