Comments (5)
I don't quite see what you're getting at? CMake is a build system, not a package manager. I guess FetchContent works for git repositories, so we could do imgui that way, but other than that, stuff like OpenGL can't be done easily that way.
from physics3d.
stuff like OpenGL can't be done easily that way.
MSYS2 has packages for both Vulkan and OpenGL. You could just assume Vulkan and OpenGL are already available. I could handle the setup of these MSYS2 packages myself.
from physics3d.
I don't quite see what you're getting at? CMake is a build system, not a package manager. I guess FetchContent works for git repositories, so we could do imgui that way, but other than that, stuff like OpenGL can't be done easily that way.
I understand your points though. So instead of replacing vcpkg with cmake's FetchContent, please provide two parallel way to handle dependencies, one is for people using VCPKG and one is for people not using VCPKG.
from physics3d.
Dependency Handling on Windows is a pain. If you want to avoid vcpkg you can download the dependencies yourself and put them into the proper folder as shown in the README. The links are in the README as well. We ourselves actually just download them too. (We don't like vcpkg either 😛)
from physics3d.
Dependency Handling on Windows is a pain. If you want to avoid vcpkg you can download the dependencies yourself and put them into the proper folder as shown in the README. The links are in the README as well. We ourselves actually just download them too. (We don't like vcpkg either stuck_out_tongue)
If you are a MSYS2 user like me, you will find out that there are packages for most of the dependencies that ready to install via Pacman (MSYS2's package manager). The painful part is how to have the project's cmake be able to find them. Most of the time, the project insists on using their own version of the dependencies, either by fetching them manually via cmake or using vcpkg. Let me tell you a story. A project uses the Skia rendering engine, insisting on fetching it as a submodule and building it locally. MSYS2 already has a package for Skia, but even though that package was installed, the project's cmake was still unable to find and use the system's Skia. It's still trying to build Skia from source (which, of course, will not work as Skia needs to be patched to build on MSYS2).
from physics3d.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from physics3d.