CMake Tutorial EP 1 | Understanding The Basics

  Рет қаралды 441,182

Code, Tech, and Tutorials

Code, Tech, and Tutorials

Күн бұрын

full CMake playlist: • CMake Tutorial EP 1 | ...
Find me, support me:
Stream: / bytepro17124
Patreon: / codetechtuts
One time donations: www.paypal.com...
Shop via my Amazon Affiliates Link: amzn.to/3bVQ9X0
Business inquiries: codetechtuts@gmail.com
Thanks for coming to the channel to check out a video on Code, Tech, and Tutorials.

Пікірлер: 242
@thibautmodrzyk6215
@thibautmodrzyk6215 3 жыл бұрын
Thanks Our sort of long haired Lord And Savior, I'm struggling with the documentation. Having a human explaining really helps
@CodeTechandTutorials
@CodeTechandTutorials 3 жыл бұрын
You can do it!
@AlexAlex-em6ct
@AlexAlex-em6ct 3 жыл бұрын
@@milanky you put an link to a payed link but here is free basics, not payed
@carlosdalomba
@carlosdalomba 3 жыл бұрын
This was easily the best CMake tutorial/resource I found all week so far. I've been struggling to understand all the terms and how it (CMake) fits into everything. Especially coming from a Unity/C# game dev background, and not really.. understanding much about "builds", "platforms", and "compilers" besides extreme basics/vagueness. Thank you so much, this really makes it feel a lot more doable. P.S. - I'm so glad you use VS Code too! Just started with it today as well haha
@user-fl5zl6ml5b
@user-fl5zl6ml5b 2 жыл бұрын
Sorry to interrupt,i am a newer to learn cmake ,is there any tutorial to recommend? Thanks .
@openroomxyz
@openroomxyz 2 жыл бұрын
@@user-fl5zl6ml5b same :)
@journeyman6856
@journeyman6856 4 жыл бұрын
The best CMake tutorials on KZfaq!
@milanky
@milanky 3 жыл бұрын
Checkout the Beginner/Intro CMake Course at www.udemy.com/course/master_cmake/?referralCode=D08DF343ABAE2835C3B7
@RuoshiWen
@RuoshiWen 11 ай бұрын
Great tutorial. I do enjoy that you were giving tutorials in a very relaxing tone. I got really stressed when I learn c++ related contents.
@codinger4182
@codinger4182 3 жыл бұрын
This guy looks like *_Gilfoyle_* from *Silicon Valley* . Jokes apart, he explained great!
@hosseinbeiranvand7169
@hosseinbeiranvand7169 3 жыл бұрын
exactly man!
@makermatrix9815
@makermatrix9815 3 жыл бұрын
Sounds like him even more than he looks like him, LOL
@hridaykeswani6459
@hridaykeswani6459 3 жыл бұрын
We will talk about our lord and savior ... what do you think am talking about SATAN! xD
@poganka45
@poganka45 3 жыл бұрын
he reminds me of Lex Luthor's father
@snowman4933
@snowman4933 2 жыл бұрын
true af
@bestganesh
@bestganesh 3 жыл бұрын
This is a very nice introduction to Cmake. Really got what I need. Thanks :)
@CodeTechandTutorials
@CodeTechandTutorials 3 жыл бұрын
Happy it helped
@Augnos
@Augnos Жыл бұрын
Thanks for explaining makefiles in literally the first 5 minutes. I don’t know how every other explanation skips this part and what cmake is even needed for
@cppdog3549
@cppdog3549 2 жыл бұрын
I think I just found my favorite KZfaq channel. I really love the joke in the beginning about our Lord and Savior.....CMake, and I really enjoyed watching your tutorial and learning about how CMake works. I love your style of teaching and it's so intuitive. Thank you for making this video.
@khaid.5167
@khaid.5167 2 ай бұрын
thank you so much, after 3 years, your video still help alot of ones and companies. it's great.
@sirtobi6006
@sirtobi6006 3 жыл бұрын
I came to learn about CMake and directly left an abonoment.
@mr.bun-bunny8830
@mr.bun-bunny8830 4 жыл бұрын
I subscribed because your blender tutorial helped me with video editing and now I'm here because of your coding tutorials and I'm Loving It.
@mr.bun-bunny8830
@mr.bun-bunny8830 4 жыл бұрын
wanted to ask I'm having this g++ error in visual studio code whenever I try to code in C or C++ well it happens when I try to run it any idea how can I solve it?
@CodeTechandTutorials
@CodeTechandTutorials 4 жыл бұрын
@@mr.bun-bunny8830 hard to say without many specifics. Can you post the source code?
@inlovewithtajweed1
@inlovewithtajweed1 3 жыл бұрын
Thank you for sharing. I enjoyed the content. Minor: zues==>Zeus.
@abelashenafi6291
@abelashenafi6291 5 ай бұрын
Thanks man. The shortest yet most efficient and vivid explanation about Cmake and MakeFile. Thanks a lot man. really. Kudos
@bieldozap
@bieldozap 4 жыл бұрын
seriously, i was starting to watch the OGRE tutorial and when I saw Cmake, it came to my mind "oh boy it would be nice a Cmake tutorial". And here I am. Thank you so much.
@CodeTechandTutorials
@CodeTechandTutorials 4 жыл бұрын
Nice! I'm studying hard to make this next cmake tutorial and hopefully take it to a whole new level
@ORagnar
@ORagnar 2 жыл бұрын
I'm getting a Bob Ross vibe from your style. I expect to see some happy little clouds. 7/14/22, 5:57 p.m.
@kavorka8855
@kavorka8855 7 ай бұрын
Simple, clear and fun way of teaching any subject! Now, next ... part 2
@tiendadelchavo4132
@tiendadelchavo4132 3 жыл бұрын
These CMake tutorials are simply the best! Amazing explanation and tips! Thank you so much!
@CodeTechandTutorials
@CodeTechandTutorials 3 жыл бұрын
Glad you like them!
@anguruso
@anguruso Жыл бұрын
Thank you! I had one hell of a time understanding CMake before watching your videos.
@mittelwelle_531_khz
@mittelwelle_531_khz 2 жыл бұрын
Having watched 5 minutes only I feel already inclined to comment: Being a software developer myself for more than 40 years (so "technically" in retirement now but nevertheless still active) I like your intro: there's no single best practice fitting each every project. I also like your dry humor - it doesn't escape me. (I think you know what I mean.)
@mittelwelle_531_khz
@mittelwelle_531_khz 2 жыл бұрын
@Harshil Pandey here's a story of those early days: in some versions of _make_ it was hard-coded that when you used it for the target "love", i.e. you ran it as: *make love* It responded: *not war*
@charles9571
@charles9571 2 жыл бұрын
Thanks, and nice tutorial. - A Christian
@russellshahenian2357
@russellshahenian2357 Жыл бұрын
I love it: 'so just please don't' .... i know your're real at that point. Ty great 'simple' effective.
@juan-jh1qg
@juan-jh1qg 3 жыл бұрын
In windows, run instead the following CMake command: > cmake -S ../../ -B . -G "MinGW Makefiles"
@thedeathchimera
@thedeathchimera 3 жыл бұрын
Thanks man, it kept spitting out visual studio files and I wasn't sure why
@abdullahsulaymaan9085
@abdullahsulaymaan9085 Жыл бұрын
thanks bro, you saved me time
@MyMjrox
@MyMjrox 3 ай бұрын
Still the best cmake tutorial
@rsmusic-fh6nl
@rsmusic-fh6nl 5 ай бұрын
only legible cmake explanation i've found, tysm
@aogposton
@aogposton 8 ай бұрын
Came to this after doing my own way.... Thank you for the tutorial.
@opexkoru5157
@opexkoru5157 3 жыл бұрын
Best cmake tutorial I've seen by far. Looking forward to watching the rest of the videos. Thanks!
@sunableflames9365
@sunableflames9365 3 жыл бұрын
Thanks a million for this introductory lesson on cmake.Been looking for a clear tutorial and you sir make it crystal clear!! Please keep making the videos.
@CodeTechandTutorials
@CodeTechandTutorials 3 жыл бұрын
Glad it was helpful!
@huseyink97
@huseyink97 2 жыл бұрын
thanks for the best introduction!
@CodeTechandTutorials
@CodeTechandTutorials 2 жыл бұрын
Glad you liked it!
@ctjanney
@ctjanney 2 жыл бұрын
Fantastic! Thank you. I've struggled with make files, hacking open source setups to compile without direction. Thank you for your clear tutorials.
@sammyiboi
@sammyiboi 3 жыл бұрын
Thanks for this! There's only a few CMake tutorials out there, so this one is definitely welcome :) Just finished the first video. CTT looks awfully close to C++, woah!
@CodeTechandTutorials
@CodeTechandTutorials 3 жыл бұрын
Awesome, thank you!
@blankeyezero
@blankeyezero 6 ай бұрын
thank you.. i was a simple guy coming from interpreted languages... this compiler problem was making things difficult for me as to finding out which c compiler I should use and such...
@moeroe7663
@moeroe7663 3 жыл бұрын
As a C-noob I can say: this is really helpfull!
@phillno1751
@phillno1751 2 жыл бұрын
Subscribed. Clear, concise, exactly what I need to get started. I look forward to the next video. Thanks!
@SeanBoborano
@SeanBoborano 16 күн бұрын
Truly our lord and savior because CMake documentation is just not beginner friendly or should I say TRASH OH MY GODDD MY FRUSTRATION
@kamiltrzcinski
@kamiltrzcinski Жыл бұрын
gives off strong 2011 vibes
@milkman5894
@milkman5894 Жыл бұрын
fr
@LongestYardstick
@LongestYardstick Жыл бұрын
this is a late comment, but I really appreciate the series -- using it to familiarize before university class using same build process
@MohamadAlajouz
@MohamadAlajouz 2 ай бұрын
the ending got me dead 😆
@JaCkuevara
@JaCkuevara 2 жыл бұрын
Such a funny guy - and a nice intro - keep it going man! Best Regards
@uwemisrael5836
@uwemisrael5836 Жыл бұрын
I'm finiding this series very helpfull. Started learning C++. Thanks
@jiangpengli86
@jiangpengli86 3 ай бұрын
Thank you so much for this great tutorial.
@leiyin1998
@leiyin1998 7 күн бұрын
thank you, sir!
@gopinath6946
@gopinath6946 2 жыл бұрын
You said No standard in coding.... Thalaiva You are great...
@Evilanious
@Evilanious 7 ай бұрын
I cannot believe this contains such basic errors that will mislead beginning programmers. It's spelled 'Zeus'! Get it together! Seriously though, thanks. This was very helpful.
@moshe22cohen
@moshe22cohen 2 жыл бұрын
you are indeed a savior. had hard time grasping it and your tutorial made it clear, managed to create cmake and compiling thanks!
@xayanmusic3627
@xayanmusic3627 4 ай бұрын
very good tutorial thank you for being so clear
@degancontent1979
@degancontent1979 Жыл бұрын
Good one, looking forward for part 2
@it_raman_suryawanshi1399
@it_raman_suryawanshi1399 Жыл бұрын
Thank you 😊 for making it easy to understand.
@saulmorales372
@saulmorales372 3 жыл бұрын
I appreciate your content and you hella funny!! Thank You Man!!!!!!!
@katjordansoccer
@katjordansoccer 11 ай бұрын
Zeus, not Zues, but otherwise really well done. Thanks!
@HY-nt8nk
@HY-nt8nk 3 жыл бұрын
In cmake, where did we mention the kind of compiler to use? At the beginning of the video, in the makefile, it was explicitly mentioned to use 'g++' compiler. But, I did not get how cmake picked the compiler? Can you please answer me this question?
@Karlthegreat100
@Karlthegreat100 2 жыл бұрын
I'm not sure if there are other ways but I usually set environment variables for that, specifically, CC and CXX. So CC=/path/to/clang CXX=/path/to/clang++ cmake..
@the_jimnasium
@the_jimnasium Жыл бұрын
Thanks a lot for this tutorial. I went to look up how to use cmake and the tutorial in the official cmake documentation was... not great in my opinion. This helped out a ton.
@user-kt8nc4xd1u
@user-kt8nc4xd1u Жыл бұрын
Thanks for creating this video
@rishabhjain911
@rishabhjain911 2 жыл бұрын
Great job bro You just made it a piece of cake :)
@codutyapexpredator1548
@codutyapexpredator1548 5 ай бұрын
I think I stumbled into the real life Gilfoy. 😂😂😂
@legitjimmyjaylight8409
@legitjimmyjaylight8409 3 жыл бұрын
It appears I don't have the `-S` option available on my CMake, and it wants to use my `-B` option as both the build and the source directory. It seems this may be because my cmake is out of date, and this is a newer option. My cmake version is 3.10.2. Edit: I've managed to get it updated now to cmake version 3.20.1, and now I can finally use the `-S` option & follow along with this tutorial.
@dimitrigraur8345
@dimitrigraur8345 2 жыл бұрын
Great material, subscribed!
@pdxfunk
@pdxfunk 11 ай бұрын
Thanks so much for making this. After struggling setting up my IDE for making embedded code for RP2040 processor, I kept being like "WTF actually IS CMAKE??". Now I know.
@DevCurioso
@DevCurioso 3 жыл бұрын
Great intro to Cmake, congrats
@CodeTechandTutorials
@CodeTechandTutorials 3 жыл бұрын
I'm glad you like it
@finrei
@finrei 2 жыл бұрын
Actually awesome video series
@davidnguyen9023
@davidnguyen9023 Жыл бұрын
Simply great.
@akashgillella
@akashgillella 2 жыл бұрын
Very nice tutorial. Really funny 2! Thanks
@qc2217
@qc2217 3 жыл бұрын
This is a nice tutorial! Thank you for making it!
@CodeTechandTutorials
@CodeTechandTutorials 3 жыл бұрын
Glad it was helpful!
@mxlodyk
@mxlodyk Жыл бұрын
Thank you for this video!
@8Trails50
@8Trails50 2 жыл бұрын
I wish all tutorials were like this
@hertzvador2220
@hertzvador2220 2 жыл бұрын
This was very useful. Thank you.
@timsessions1845
@timsessions1845 Жыл бұрын
Praise be to cmake
@motsyrhc7436
@motsyrhc7436 Жыл бұрын
thank you kind sir. this is the most concise video on CMake I've seen so far.
@saeidsaati4021
@saeidsaati4021 3 жыл бұрын
This video was great even for me with some experience with cmake, thank you!
@lifeisbeautifu1
@lifeisbeautifu1 3 жыл бұрын
Thanks so much for this great tutorial ! :)
@eyalpery8470
@eyalpery8470 3 жыл бұрын
Excellent! Thanks!
@jasonwell5299
@jasonwell5299 3 жыл бұрын
Gorgeous video bro.
@muhamedadel5859
@muhamedadel5859 3 жыл бұрын
*Nope, Binaries doesn't build itself,* 15 minutes *well* spent to understand how to build a simple program. I wonder if living things are self built ?. How great he who created all living things, I wonder.?! $ make like.cpp
@mikey.audio.
@mikey.audio. Жыл бұрын
excellent content, thanks!
@srh80
@srh80 Жыл бұрын
Oh great! Gilfoyle got a haircut.
@xugefu
@xugefu 2 жыл бұрын
Thanks!
@B15HOP
@B15HOP 3 жыл бұрын
So glad you put this in here. The other good tutorial is "cmake good" by vector-of-bool. The cmake library is a little bit more confusing at first than standard makefiles, but they are worth it because makefiles get bloated and tedious very quickly. As you know, the cmake tools bypass this by creating the project Makefiles for you.
@77and619
@77and619 3 жыл бұрын
cool guy and gets to the point ! not always like this! tyvm
@meenamurthy1503
@meenamurthy1503 Жыл бұрын
You could say cmake creates a make file, easier ro to associate c with create
@mupmuptv
@mupmuptv 3 жыл бұрын
Thank you. You are the best
@pygeekrfoo820
@pygeekrfoo820 Жыл бұрын
thank you gilfoyle
@eneserdogan34
@eneserdogan34 2 жыл бұрын
[ERROR RESOLVED] IF YOU HAVE CMAKE 3.10.2 then run: cmake -Hsourcepath -Bbuildpath yes do it without a space between flag and the argument
@ascyrax8507
@ascyrax8507 2 жыл бұрын
thank u.
@SparxableTunes
@SparxableTunes 3 жыл бұрын
Stomp the comp!
@thefrostian
@thefrostian 3 жыл бұрын
Fantastic. Thanks so much.
@avinashmehtadelhi
@avinashmehtadelhi 2 жыл бұрын
Great video, many thanks. Would be great if u can plan a playlist on configure make and make install. 👍
@CodeTechandTutorials
@CodeTechandTutorials 2 жыл бұрын
Thanks for the idea!
@magicomiralles
@magicomiralles 3 жыл бұрын
Thanks for the gospel on our lord and savior. It was really helpful.
@syzygy8060
@syzygy8060 2 жыл бұрын
Hey man! Thanks for your well-explained video. You got me up and running. Cheers.
@CodeTechandTutorials
@CodeTechandTutorials 2 жыл бұрын
Great to hear thanks for the comment
@atrus3823
@atrus3823 Жыл бұрын
"rmdir" is a safer way to remove a directory. If you use "rm -fr" and accidentally type the wrong thing... Especially something generic like "build". Perhaps you cd'd to another directory and forgot.
@DanRed-bc3ug
@DanRed-bc3ug Жыл бұрын
Thank you so much! I also liked the terminal, what is it?
@pebble2258
@pebble2258 2 жыл бұрын
for anyone that is unable to run the 'make' command, run 'cmake --build (build directory)' that's two dashes - -
@john3932
@john3932 3 жыл бұрын
Fantastic tutorial Cheers m8
@ShahidNihal
@ShahidNihal 7 ай бұрын
For some reason, you remind me of Gilfolye 😂
@gugu2850
@gugu2850 2 жыл бұрын
Firstly I'am a boy, and secondly, I like him.
@Fruity_White
@Fruity_White Жыл бұрын
the man is from 2013 memeing like hes sam harris
@StevenMartinGuitar
@StevenMartinGuitar 2 жыл бұрын
You missed a big trick, should have turned that light above you on to really sell the OLAS effect
@kartikgarasia5685
@kartikgarasia5685 2 жыл бұрын
Thanks gilfoil :)
@reflex6588
@reflex6588 2 жыл бұрын
lmao i knew i wasnt the only one that thought this
@kartikgarasia5685
@kartikgarasia5685 2 жыл бұрын
​@@reflex6588 He even speaks in that tone! Which is awesome!
@markharrington5826
@markharrington5826 3 жыл бұрын
Superb thank you
@oneday374
@oneday374 Жыл бұрын
we want you can do a video en the windows version.
@vinniciusrosa8284
@vinniciusrosa8284 7 ай бұрын
How can I change the compiler to MingW? I tried a lot of things and I did not found the answer through the internet. :(
@justdoingodswork
@justdoingodswork Жыл бұрын
I tried to make a makefile, but terminal is not reconizing command make?
CMake Tutorial EP 2 | Libraries and Subdirectories
17:29
Code, Tech, and Tutorials
Рет қаралды 117 М.
CMake Tutorial EP 2 | Libraries | Installing | Pairing with Executables | RE-DONE!
36:48
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 17 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 1,5 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 41 МЛН
CMake основы
12:46
S0ER
Рет қаралды 48 М.
POINTERS in C++
16:59
The Cherno
Рет қаралды 1 МЛН
Introduction to Google Test and CMake
31:32
Rhymu's Videos
Рет қаралды 137 М.
Simplified CMake Tutorial
27:47
kandodev
Рет қаралды 116 М.
BEST WAY to make Desktop Applications in C++
26:00
The Cherno
Рет қаралды 906 М.
CMake с нуля | 00 | Введение
3:04
SimpleCoding
Рет қаралды 44 М.
SIMPLE and EASY to make 🥢🍜 #camping #survival #bushcraft #outdoors
0:27
Ăn Vặt Tuổi Thơ 2024
Рет қаралды 13 МЛН
EL GRITO  #funny #santi
0:15
Santi Oficial
Рет қаралды 8 МЛН
Традиция из Грузии🔥
0:19
FERMACHI
Рет қаралды 888 М.
Лайфхак для покраски без банки 😮🔥🖌
0:36
Citadel Shorts
Рет қаралды 1,2 МЛН
Shot Roulette #boardgames #настольныеигры #games #игры #настолки #настольные_игры
0:48
Традиция из Грузии🔥
0:19
FERMACHI
Рет қаралды 888 М.
A homeless boy tries to get food for his younger sister #shorts
0:48
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН