CMake vs Make - A Real Life Comparison (With Actual Code)

  Рет қаралды 555

Kea Sigma Delta

Kea Sigma Delta

Ай бұрын

Get the example/template code in the Kea Campus (Creator tier or higher):
keasigmadelta.com/store/campu...
NOTE: The makefiles that create build directories have been updated so they also work from the Windows console.
What are CMake & Make like to use? And which one should you choose? To help you decide, Hans has pitted them head to head with real code. Watch, as he builds the same code using both build systems, and endeavours to make both do the same thing...
Click the following link for a summary:
keasigmadelta.com/blog/cmake-...
Other useful resources:
- Learn CMake: cmaketutorial.com/
- Learn OpenGL ES 3 + SDL2: keasigmadelta.com/gles3-sdl2-...
- More made by us: keasigmadelta.com/store/
- Support inquiries: keasigmadelta.com/support/
Connect with us:
- / keasigmadelta
- / keasigmadelta
- t.me/keasigmadelta (Telegram)
- keasigmadelta.com/subscribe/
QUESTION - What would you like us to make next, on this channel? Comment below...
About
At Kea Sigma Delta we enjoy creating awesome stuff using software & electronics, and helping others to do the same.

Пікірлер: 9
@ElliotdeVries
@ElliotdeVries Ай бұрын
Thanks, very helpful. I'm new to this area and have been concentrating on learning CMake, but want to know more about how the (non-meta) build systems work as well. Looking forward to other comparisons.
@default2043
@default2043 Ай бұрын
They always say one needs to see something worse to start to appreciate what they have. Make seems really difficult and cryptic. Can you please make a video and talk about what generator expressions are and if we can use them for both single generator systems and multi-generator systems as well?
@KeaSigmaDelta
@KeaSigmaDelta Ай бұрын
I can consider making a video about generator expressions. They can be used for both single and multi-config generators. I don't particularly like generator expressions, because they're harder to reason about than the basic build script. They don't work with if/else, because the value in the generator only exists at generation time.
@default2043
@default2043 Ай бұрын
@@KeaSigmaDelta I can totally understand that, but it does seem like they work better for environments such as Visual Studio and others that are multi-config and I have no choice but to learn about them. Really frustrating.
@KeaSigmaDelta
@KeaSigmaDelta Ай бұрын
@@default2043 Yes, they're unavoidable for multi-config generators with anything that is different on a per-config basis.
@javierrivas6604
@javierrivas6604 Ай бұрын
cmake looks less complcated than makefile, but as I use amigaos4 to buildmy little amigaos4 stuff I'm used to makefile, but maybe for laarge projects it can be a PITA.
@KeaSigmaDelta
@KeaSigmaDelta Ай бұрын
Sadly, AmigaOS 4's CMake port is rather old, so it's not usable for newer CMake scripts. GNU Make is more complicated, but once you've got a good template, then you can usually get it up and running relatively quickly. I have no trouble using it for large projects, because adding an extra source file to an existing makefile is very easy.
@YellowCable
@YellowCable Ай бұрын
what do you think of meson?
@KeaSigmaDelta
@KeaSigmaDelta Ай бұрын
I've heard good things about meson, but haven't had a chance to try it out yet. That will be coming in a future video...
How I Wrote a Script that Cracks Code Automatically
16:53
Low Level Learning
Рет қаралды 66 М.
CMake vs Make - A developer's perspective
8:16
Kea Sigma Delta
Рет қаралды 4 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 105 МЛН
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
00:37
SMOL German
Рет қаралды 34 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 98 МЛН
98% Cloud Cost Saved By Writing Our Own Database
21:45
ThePrimeTime
Рет қаралды 315 М.
C++ Weekly - Ep 435 - Easy GPU Programming With AdaptiveCpp (68x Faster!)
15:30
C++ Weekly With Jason Turner
Рет қаралды 11 М.
Hacking a C compiler #1: Open a source file
30:58
Sandcurves
Рет қаралды 1,7 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 380 М.
Harder Than It Seems? 5 Minute Timer in C++
20:10
The Cherno
Рет қаралды 152 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 41 М.
Microsoft's Fingerprint Reader for Windows XP
13:17
Michael MJD
Рет қаралды 78 М.
Zig for Impatient Devs
9:48
Isaac Harris-Holt
Рет қаралды 71 М.
How all C/C++ build Systems Work (Except for CMake and Premake)
4:53
Kea Sigma Delta
Рет қаралды 9 М.
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 19 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 581 М.