CMake Tutorial EP 8 | find_library(...) (part 1/2 of find lib)

  Рет қаралды 22,597

Code, Tech, and Tutorials

Code, Tech, and Tutorials

Күн бұрын

Пікірлер: 33
@prashantchavan2673
@prashantchavan2673 Жыл бұрын
Most organic tutorial with real failures! This way will get to know where things can go wrong in real scenarios. Superb and keep it Organic as much possible!
@fededevi1985
@fededevi1985 2 жыл бұрын
The intro background music is so mystical and depressing, perfect for c++ build systems.
@henryliu2644
@henryliu2644 4 жыл бұрын
The background music made me pee a little bit in the beginning
@behshadmohebali6234
@behshadmohebali6234 10 ай бұрын
One thing I like about your tutorials is that you run into problems, go back and show how to fix them instead of going back and do it right from on the first try without showing what would happen if we miss something. That helps a lot!
@namedtoaster
@namedtoaster 3 жыл бұрын
Should be more likes. Couldn’t find many other places where Cmake is explained this well and in this format. Good work 👍🏼
@amarboldbatzorig7313
@amarboldbatzorig7313 6 ай бұрын
This tutorial is the best that I have found because it keeps things simple and you explain it well.
@aleksanderklepov8881
@aleksanderklepov8881 4 жыл бұрын
Thank you very much for your videos! I really appreciate your work. This is the most helpful CMake tutorial on the whole youtube!
@CodeTechandTutorials
@CodeTechandTutorials 4 жыл бұрын
Glad it was helpful!
@MrDemultiplexer
@MrDemultiplexer 3 жыл бұрын
I thought you were going to throw some of them jokes during that dramatic introo
@mariapanneerrajan
@mariapanneerrajan 4 жыл бұрын
Great videos on Cmake, just now completed watching all the 8 videos. Your explanation is very clear, by watching these videos I have a better understanding on how to make use of CMake. Thanks for making these videos. Looking forward to the next episode on CMake, :)
@CodeTechandTutorials
@CodeTechandTutorials 4 жыл бұрын
Glad it helped!
@sahilgupta221
@sahilgupta221 3 жыл бұрын
This is really helpful. Small video series that people can watch in small quantum. Thanks a lot. Keep up the good work.
@dex8487
@dex8487 4 жыл бұрын
you are the fricken man, CTT!! these tutorials are so well explained - an excellent resource
@tenprinthello8127
@tenprinthello8127 3 жыл бұрын
The most important takeaway from this video series is that Cmake has some very strange practices that do not make any sense at all. The whole -DNOSPACEBETWEENDANDTHEREST thing for instance, I had to stop the video for a moment so I could scream WHYYYYYYYYYY
@mouduge
@mouduge 7 ай бұрын
Nice video. However, at 6:04, the problem comes from the fact that you should use `if (myglewlib)` instead of `if (${myglewlib})`. Your code is equivalent to writing `if (/the/library/path)` when the lib is found, or `if (myglewlib-NOTFOUND)` when the lib is not found. Neither of these match any variable name, so they are both considered FALSE. Conversely `if (NOT ${myglewlib})` always evaluates to TRUE, so the `if` block will always be executed, even if the library is not found. That's not what you want! The proper solution is writing `if (myglewlib)`.
@Jack-4242
@Jack-4242 4 жыл бұрын
Thank you, this tutorial helped me very much :)
@marcin8680
@marcin8680 2 жыл бұрын
One of the true crime podcasts I listen to uses that tune too, feels weird watching a cmake tutorial with it 😂
@SteigerMiller
@SteigerMiller 3 жыл бұрын
YOU SIR are my lord and savior
@ridwannana-yawamoako2939
@ridwannana-yawamoako2939 4 жыл бұрын
Great tutorials. We need a complete playlist on Cmake for windows
@xiaoxucao470
@xiaoxucao470 4 жыл бұрын
When u include the header in main.cpp how to get the path ?
@yy84869
@yy84869 2 жыл бұрын
You are a life saver , thank you so much .
@j.c.s5630
@j.c.s5630 4 ай бұрын
order of operations bro. you need to use the NOT with parenthesis
@karmavil4034
@karmavil4034 2 жыл бұрын
LOL :D hilarious the way STREQUAL works is ridiculous I am verifying that something like A = A evaluates to false how is that possible (cmake -v 3.22.1) Is this a bug introduced as feature for backward compatibility? ;D And according to the documentation it should work as it is expected.. but it doesn't if( STREQUAL ) True if the given string or variable's value is lexicographically equal to the string or variable on the right.
@karmavil4034
@karmavil4034 2 жыл бұрын
My bad (clearly) trailing } symbol :( although I couldn't make this command to do its job it was a great video as always. Good content
@CodeTechandTutorials
@CodeTechandTutorials 2 жыл бұрын
Thanks for clarifying. I have learned to put quotations around string equal comparisons
@karmavil4034
@karmavil4034 2 жыл бұрын
@@CodeTechandTutorials I loved it! It's my new friend:)
@ahmadalghooneh2105
@ahmadalghooneh2105 3 жыл бұрын
Thanks !
@mohamedhussien4013
@mohamedhussien4013 2 жыл бұрын
Good tutorial but it can be compressed to be shorter.
@fanpeter-z3c
@fanpeter-z3c 4 жыл бұрын
thank u
@GalaxyExpress-hq9qb
@GalaxyExpress-hq9qb 2 жыл бұрын
Good song 👍
@gregorycarlson6445
@gregorycarlson6445 3 жыл бұрын
I appreciate the progression of libraries in your example: glew -> glu -> gl It's like its slowly breaking down more with each step.
CMake Tutorial EP 9 | find_package modules and config options (2/2 of find libs)
25:03
6 Months of Testing C++ Build Systems: Here’s What You Need to Know
16:33
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
CMake - the essential package
27:54
Code for yourself
Рет қаралды 12 М.
ASTEROIDS in C - Raylib Tutorial Part 1
20:51
Andrew Hamel Codes
Рет қаралды 22 М.
Better CMake Part 4 -- find_package() Basics
23:10
Jefferson Amstutz
Рет қаралды 22 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 177 М.
Creating CMake Libraries - That others can find and use.
26:29
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 98 М.
CMake Tutorial EP 5 | Making Libs Optional
18:21
Code, Tech, and Tutorials
Рет қаралды 26 М.
CMake Tutorial EP 3 | Git Submodules (adding glfw windowing library example)
21:51
Code, Tech, and Tutorials
Рет қаралды 88 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН