Cmake and Vcpkg C++ Project Setup
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- How to set up a project with a modern build system! Manage dependencies with ease!
github.com/Chi...
Note that I set up files manually but there are commands that can set up vcpkg a bit easier, see the microsoft guide: learn.microsof...
Check out our other channel for dev blog on our new game: / @intrinsicgamestudio
/ intrinsicgames
/ intrinsicstudios
Music from #Uppbeat (free for Creators!):
uppbeat.io/t/p...
Video Edited by Josh Arnold: / itsjayarnold
Note that while this tutorial sets up vcpkg as a submodule, it doesn't have to be done that way! If your users already have a vcpkg install they want to use, it is good to allow them to (via CMAKE_TOOLCHAIN_FILE) so different projects can share the same vcpkg install.
EDIT: Also thanks to @Byron_Vega, the command ""vcpkg new --application" will simplify creation of the .json files!
Do you have a discord? Also, what is your plan moving forward?
@@ItsYouAreNotYour Not for this channel specifically, I'll get one made. Plan is a bit loose! Suggestions are welcome
@ Modernize your OpenGL series with your newfound knowledge.
Welcome back! Love this, your timing couldn't have been more perfect. Been wanting to get back into programming again. 👍💖
Awesome stuff just got to try this and worked pretty well, while reading the documentation I found out that the command "vcpkg new --application" creates the both the vcpkg.json and the vcpkg-configuration.json files so that you don't have to do it manually.
Great Video I made sure to click like .
🦀🦀🦀🦀🦀
You know the language is cooked when there is a 20-minute video about setting up a project on it.
You know the language is good when ppl are still making tutorials for it in 2025
How is it cooked to set up an entire project? With a bunch of extraneous shit added on top.