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

ความคิดเห็น • 11

  • @makinggameswithben
    @makinggameswithben  9 วันที่ผ่านมา +4

    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!

    • @ItsYouAreNotYour
      @ItsYouAreNotYour 5 วันที่ผ่านมา

      Do you have a discord? Also, what is your plan moving forward?

    • @makinggameswithben
      @makinggameswithben  5 วันที่ผ่านมา

      @@ItsYouAreNotYour Not for this channel specifically, I'll get one made. Plan is a bit loose! Suggestions are welcome

    • @ItsYouAreNotYour
      @ItsYouAreNotYour 4 วันที่ผ่านมา

      @ Modernize your OpenGL series with your newfound knowledge.

  • @NeilRoy
    @NeilRoy 7 วันที่ผ่านมา

    Welcome back! Love this, your timing couldn't have been more perfect. Been wanting to get back into programming again. 👍💖

  • @Byron_Vega
    @Byron_Vega วันที่ผ่านมา +1

    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.

  • @Kevinc2828
    @Kevinc2828 8 วันที่ผ่านมา

    Great Video I made sure to click like .

  • @samuelemmettbray
    @samuelemmettbray 8 วันที่ผ่านมา +1

    🦀🦀🦀🦀🦀

  • @jokerpb4778
    @jokerpb4778 9 วันที่ผ่านมา +2

    You know the language is cooked when there is a 20-minute video about setting up a project on it.

    • @Mal_
      @Mal_ 9 วันที่ผ่านมา +2

      You know the language is good when ppl are still making tutorials for it in 2025

    • @ssttssttsstt
      @ssttssttsstt 6 วันที่ผ่านมา +1

      How is it cooked to set up an entire project? With a bunch of extraneous shit added on top.