CMake vs Visual Studio Projects - A Real Code Comparison

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ธ.ค. 2024

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

  • @DANTE71927
    @DANTE71927 2 หลายเดือนก่อน

    Thank you for the great explanation!

  • @default2043
    @default2043 2 หลายเดือนก่อน

    Great video!
    One thing that always confuses me is that the terms MSVC toolchain and Visual Studio are often used interchangeably. Of course, this is understandable-after all, most people use MSVC within Visual Studio, but I still dislike the idea. I believe it must be possible to install MSVC on its own and use it from the command line to compile a simple project. I’d love it if you could demonstrate that. This is really something that I always wanted to see someone do.

    • @KeaSigmaDelta
      @KeaSigmaDelta  2 หลายเดือนก่อน +1

      Thanks.
      I cover installing just Visual Studio's command line tools in The CMake Tutorial (cmaketutorial.com). In brief:
      Look for "Built Tools for Visual Studio" on the Visual Studio download page, and download that one. Here's a quick link:
      visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022
      One annoying thing with using Visual Studio from the command line, is that you have to run it from the "Developer Command Prompt for VS..." instead of the usual command line. Otherwise it won't be able to find the VS tools.

  • @alomac8976
    @alomac8976 2 หลายเดือนก่อน

    You should do cmake vs bash script next

    • @KeaSigmaDelta
      @KeaSigmaDelta  2 หลายเดือนก่อน

      Noooooooo! Actually, that would be preferable to using Autotools.
      My plan is to do Bazel next.