“Why Cmake??” That’s exactly what my question is. Thank you for the information. I understand.
@sudocpp
Жыл бұрын
If you want more details how to use CMake, I have a series explaining some of the things you can do.
@snieguzary
Жыл бұрын
instead of manually running "ninja" you could have invoked "cmake --build ." While the effect is identical, you don't have to remember which generator was used and what binary name is related to it.
@sudocpp
Жыл бұрын
Yeah! I agree that is a great option as well!
@SynthByte_
6 ай бұрын
was wondering about this for a while now thanks for sharing it helped a lot understanding what cmake is.
@sudocpp
6 ай бұрын
Glad it was helpful!
@Luis-jl6oh
4 ай бұрын
I was just curios about what it was, thank you.
@manzelo9855
9 ай бұрын
Man, this is the best video that I saw on KZitem, Thanks :D
@sudocpp
8 ай бұрын
Glad you enjoyed it!
@hannahm9259
9 ай бұрын
Just what I needed!
@golgi3191
Жыл бұрын
Good video, Quite Banging even.
@sudocpp
Жыл бұрын
Glad you liked it, there is a whole series of you want to get into the nitty gritty.
@TuxedoPanther
Жыл бұрын
Great, many thanks 👍
@bennguyen1313
8 ай бұрын
I've read that "Make uses Makefiles to make C." "CMake uses CMakeLists to make Makefiles to make Make make C." However, is it possible to use CMake with Visual Studio IDE Community? For example, there are some projects (ex. frang75 / nappgui ) that say the prerequisites are: Visual Studio CMake Kind of ambiguous if this refers to the Visual Studio Code editor or the Visual Studio IDE. BTW, in the latter, there is a drop-down to select if you are want to build a 32-bit or 64-bit exe, how would this be done using CMake?
@sudocpp
8 ай бұрын
Having used both VSCode and VS IDE, I'm guessing it is for VSCode. VS IDE is kind of a walled garden experience. It is possible to get CMake to do both 32 but and 64 bit, however it does require knowing which compiler you specifically are using. (As far as I know there isn't a generic way per se.)
@charliesumorok6765
11 ай бұрын
Why not make?
@sudocpp
6 ай бұрын
Lol, why not just compile manually by command line? There are lots of ways and everyone prefers different ways.
@PCB389
Жыл бұрын
Great info!
@sudocpp
Жыл бұрын
Glad it was helpful!
@NoOne-ev3jn
11 ай бұрын
Why cmake instead of make?
@sudocpp
11 ай бұрын
Make works well on Linux, but there isn't a great Make solution for Windows. CMake does allow you to build with Make, ninja, and a few others. Personally I slightly prefer BSDs bmake over GNUs make.
@ukyoize
8 ай бұрын
@@sudocppWindows is a bad system,you shouldn't use it in the first place.
@odinsonic
7 ай бұрын
Windows is a bad system,you shouldn't use it in the first place, i use arch btw
@QuantumVirus
6 ай бұрын
"bad system" "prove it"
@bedwar12494
5 ай бұрын
@@QuantumVirus ancient kernel, worse for power users, worse for developers, ram consuming, cpu eating, storage stealing, spyware, bloatware why would i use it?
@stevenbroshar7948
Ай бұрын
IMO cmake does not make building easier. It makes it harder ... harder than using a less generalized system. What cmake provides is a way to specify the build process in a cross-platform way. If you need to build on platforms that vary significantly, then cmake can be valuable. If you only target one platform or platforms that are very similar, then cmake is a waste of effort to setup.
@sudocpp
22 күн бұрын
It's easier than manually typing out the g++ command for me, which is the way I've done it before.
@djohardudaev95
7 ай бұрын
I just hit "run code" in visual studio and thats it
@sudocpp
6 ай бұрын
Yep, that is an option. However for professional use standard Visual Studio is quite expensive, and it doesn't have releases for Linux and the like.
@neupanes48
Жыл бұрын
Sorry but the video doesn't answer why cMake at all, it answers more about how to use CMake.
@StrataVision
Жыл бұрын
he talks about it in 2:45 . its more of automation tool and cross compile capabilities
@mr_wormhole
Жыл бұрын
he actually does, it is for cross-platform building. It is so cumbersome to write makefiles, cmake just generates it
@sudocpp
Жыл бұрын
I'm sorry you weren't able to find the content you were looking for easily. I have added chapters to the video so hopefully it is easier to locate.
@zkdadof4
11 ай бұрын
By using it, one can intuit its purpose.
@ukyoize
8 ай бұрын
@@mr_wormholeIn what universe? CMake is a confusing mess. Regular make is easy.
@muhdiversity7409
8 ай бұрын
Why cmake? You decided that you have nothing better to do with your life? Just write a Makefile and get on with your like. At least make is properly documented.
@sudocpp
8 ай бұрын
I'll have to do a tutorial on how to write for NMake on Windows 😂
Пікірлер: 38