CMake Tutorial EP 3 | Git Submodules (adding glfw windowing library example)

CMake Tutorial EP 3 | Git Submodules (adding glfw windowing library example)

Code, Tech, and Tutorials

3 года назад

82,109 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@serhiimamedov
@serhiimamedov - 13.09.2023 22:27

Make this is top notch tutorial! This is such a complex topic and you make it look so easy.

Ответить
@csfinch7672
@csfinch7672 - 30.07.2023 05:30

This was very helpful. Thank you!!

Ответить
@gebibeshir5709
@gebibeshir5709 - 29.07.2023 21:32

Oh Zeus you're the real saviour, thy shal be thanked!

Ответить
@eMttiew
@eMttiew - 26.06.2023 18:05

What if my submodule only has MakeFile not CMakeLists?

Ответить
@PrathameshMhatre-pl5eu
@PrathameshMhatre-pl5eu - 22.02.2023 23:52

Thanks a lot for the video. Best explanation overrall.

Ответить
@1aggin_5amurai
@1aggin_5amurai - 13.11.2022 03:25

I feel like a will become the very Lord and Savior by end of this course! Great job!

Ответить
@visclo4782
@visclo4782 - 24.10.2022 19:13

thank you

Ответить
@themindsethunter2168
@themindsethunter2168 - 02.10.2022 14:30

I wonder what would happen if I import two submodules with options having conflicting names, and I want to have one of them ON and other OFF.

Ответить
@anton_98
@anton_98 - 01.10.2022 20:49

Thank you very much!

Ответить
@eeminceetin
@eeminceetin - 29.09.2022 21:08

fascinating explanation, best regards

Ответить
@liang9to5
@liang9to5 - 16.09.2022 12:25

These courses are fantastic.

Ответить
@TopConductor
@TopConductor - 24.08.2022 14:53

Maybe someone can help and explain why do we need "target_link_directories"? And what is the difference with target_link_libraries?
I wrote the code without "target_link_directories", but with "target_link_libraries" and it still works just fine.

Ответить
@Rojek121212
@Rojek121212 - 22.08.2022 11:09

this tutorial is pure gold

Ответить
@MoeQ_
@MoeQ_ - 16.08.2022 18:30

this play list is my main reference whenever I want to use CMake, extremally helpful

Ответить
@mohamedhussien4013
@mohamedhussien4013 - 04.08.2022 23:47

Really good tutorial!!!

Ответить
@6LayersDeep
@6LayersDeep - 29.07.2022 20:41

EXTREMELY helpful tutorial series! I've been trying to get this setup since 2014, unsuccessfully. I know I'm dumb but it's generous digital elves like you that save grace upon this wretched planet 😅

Ответить
@SrijanaRupakheti
@SrijanaRupakheti - 21.07.2022 23:33

Thank you for this tutorial, as a novice in CMake, it really helped me in my project.

Ответить
@emeka752
@emeka752 - 27.04.2022 21:05

Awesome series. Been a great help for my project👏

Ответить
@anomacti
@anomacti - 19.04.2022 16:40

Thanks for the great tutorial man, very well made and easy to understand.

Ответить
@eduardorocha1547
@eduardorocha1547 - 16.03.2022 23:07

You're the man!!! So easy to follow you.

Ответить
@user-mv4oh8yp1y
@user-mv4oh8yp1y - 09.03.2022 23:20

If I remove the `target_include_directories(...)` it can still be run without problem. Any idea?

btw, I think -D means Define variable

Ответить
@nickwu9290
@nickwu9290 - 24.02.2022 07:33

i think in this example target_include_directories is not necessary as these header file directories from library are already included when building the libraries, and when you do the target_link_libraries it will add its interface_include_directories to the current target include_directories automatically.
Nice tutorial! Really appreciate it!

Ответить
@maximkorytko8972
@maximkorytko8972 - 16.02.2022 22:41

TY SO MUCH!!!

Ответить
@aleksandrpaniutin4028
@aleksandrpaniutin4028 - 14.01.2022 10:03

glfw3 is a library name but cmake needs a target, which is glfw.

Ответить
@leimiles18
@leimiles18 - 10.01.2022 06:12

Hi, thanks for the tut, I wonder what does this "#!" mean, and when I use it on my windows, the command just won't work, tells me '#!' is not recognized as an internal or external command....

Ответить
@liboyan7010
@liboyan7010 - 07.01.2022 16:15

This is very so good lecture!!!!! Great job!!!! Thanks!

Ответить
@2914vinayak
@2914vinayak - 06.01.2022 00:57

Thanks

Ответить
@bvisonl
@bvisonl - 25.12.2021 23:58

git into git............... I'm dead

Ответить
@AlexWong-jk9lc
@AlexWong-jk9lc - 25.12.2021 07:50

Amazing tutorials!

Ответить
@GTExplosion
@GTExplosion - 16.12.2021 02:56

This series is so great! Really push me to tick CMake off my to-learn list!!!

Ответить
@JustSomeRandomIdiot
@JustSomeRandomIdiot - 05.12.2021 09:16

Literally trying to figure out how to setup a cross platform project for Linux/Windows that uses GLFW and CMake and just found this series, thankyou, such relief to have someone explain this in simple terms.

Ответить
@sarthaksharma4816
@sarthaksharma4816 - 27.11.2021 19:26

My god. Thanks a ton. Sincerely.

Ответить
@viktoriyamankovskaya5906
@viktoriyamankovskaya5906 - 19.10.2021 22:40

what happened to ur hair? on previous video u were more like Jesus, i liked it better)

Ответить
@nubnubbud
@nubnubbud - 13.10.2021 12:44

I was trying to build GLFW into my project from a git submodule for 9 hours, learned compiling, learned linking, learned cmake, with the first and second tutorial... I spent 3 hours searching about how things were seen by various linkers and whatnot...

then I noticed there was a 3rd tutorial episode.

Ответить
@nitscheszter2062
@nitscheszter2062 - 01.09.2021 17:24

Your videos are great; make me sub to it. I have followed this video, didn't get any error, but the window didn't pop up :( What did I miss?

Ответить
@ELECTRONICWALKS24
@ELECTRONICWALKS24 - 28.08.2021 10:32

thankyou for your efforts bro...!

Ответить
@mr.z9161
@mr.z9161 - 30.07.2021 22:48

thanks for the awesome tutorial and didn't know he bring his twin brother to talk this time lol.

Ответить
@frankaalbers1099
@frankaalbers1099 - 10.06.2021 08:35

It probably has been mentioned below. But the target_link_directories don't seem to be needed since you actually use the names in the add_library commands and not the names of the library files. That's why you use glwf and not glwf3 since the CMakeLists.txt of GLWF uses the add_library(glfw ...) command to create the library
Well, at least as a noob, that's how see to understand it

Ответить
@DrWho2008t101
@DrWho2008t101 - 19.04.2021 06:16

Thanks for the video.

Ответить
@flyhigher354
@flyhigher354 - 13.04.2021 02:54

Cool video and explanation

Ответить
@dahuskey81
@dahuskey81 - 10.04.2021 08:45

OMG Somebody stole your goatee, did you have it insured ? Haha 😄 another great tutorial!!

Ответить
@tralfamadorian6
@tralfamadorian6 - 01.04.2021 08:37

Thank you thank you, this was the video that finally helped me get SFML configured for VSCode and CMake on a Mac.

Ответить
@metascopeinitiatives2550
@metascopeinitiatives2550 - 30.03.2021 20:54

I have subbed. Your channel is awesome. Thank you so much 🙏

Ответить
@giangbuitam4868
@giangbuitam4868 - 03.03.2021 16:51

Firstly , Thank you for great tutorial !
I have a question. I add git submodules glad and sdl2. when glad build , it build a glad.c and glad.h so i can't target_include it in cmake . How can i make it work ?

Ответить