Cmake Tutorial

Cmake Tutorial

1. CMake Tutorial EP 1 | Understanding The Basics


full CMake playlist: youtube.com/watch?v=nlKcXPUJGwA&list=PLalVdRk2RC6o5GHu618ARWh0VO0bFlif4

Find me, support me:
Stream: twitch.tv/bytepro17124
Patreon: patreon.com/codetechtuts
One time donations: paypal.com/paypalme/mattearly
Shop via my Amazon Affiliates Link: amzn.to/3bVQ9X0
Business inquiries: [email protected]

Thanks for coming to the channel to check out a video on Code, Tech, and Tutorials.


2. Simplified CMake Tutorial


CMake is a complex beast and hopefully I make it simple and easy to understand in this tutorial while also utilizing somewhat Modern CMake features. There's a ton of different ways to do things so it's crucial to ditch some of the more outdated ways of doing things.

You can follow along here: codevion.github.io/#!cpp/cmake.md
My C++ setup for CMake here: youtube.com/watch?v=Y_UubM5eYAM

#build #modern #cmake #cpp

Quicklinks:
00:00 - Intro
00:43 - Hello World
03:55 - Clearing up clutter
04:47 - Vim plugin
06:05 - Header files
09:53 - More source files
13:52 - Custom Library
17:30 - Depending on a CMake ready lib
21:10 - Depending on a lib manually
26:46 - CPM


3. CMake Tutorial For Beginners - Episode 1


This video shows you how to make a hello world project with CMake. You will learn how to use the add_executable command to create an executable target. As well as the install command for installing targets. Some basic use of variables is covered as well. All the coding is done in Microsoft Visual Studio 2015.


4. CMake软件构建实战



5. How To Use VS CODE for C++ | With CMake & Any Compiler


Going over a starter template to manage your C++ project with Visual Studio Code.

-- References --
▶ code.visualstudio.com/
▶ cmake.org/
▶ docs.microsoft.com/en-us/visualstudio/msbuild/msbuild?view=vs-2022
▶ bird wallpaper in thumbnail: wallhaven.cc/w/nm3eg9

-- Code, Tech, and Tutorials Links --
▶ Patreon: patreon.com/codetechtuts
▶ CTT Discord: discord.gg/TJ8Bs726jF
▶ Channel Repos: github.com/codetechandtutorials

-- Other CTT Playlists You Might Like --
▶ CMake: youtube.com/watch?v=nlKcXPUJGwA&list=PLalVdRk2RC6o5GHu618ARWh0VO0bFlif4&t=0s
▶ Beginner Cpp: youtube.com/watch?v=vjEkcx-DTtY&list=PLalVdRk2RC6rNH0Pe7hC2ZZQufocJFzxX
▶ Blender Video Editing: youtube.com/watch?v=OtoM5b7i5z0&list=PLalVdRk2RC6qgAD0PRw8OQkscJLe8GYly
▶ Matrix Math: youtube.com/watch?v=5gslOx-qRm8&list=PLalVdRk2RC6peR75_wLpP9xtLGOt-lRAe
▶ OpenAL: youtube.com/playlist?list=PLalVdRk2RC6r7-4zciZ3LKc96ikviw6BS
▶ OpenGL: youtube.com/watch?v=XH82zuPSPkI&list=PLalVdRk2RC6ofNC8_LvX-_RF3-HHJ5VNM

Please let me know if any of these links are broken! Thanks!

Other ways to support me, Matt, the creator and maintainer of this channel:
▶ Follow/Sub to my Twitch Stream: twitch.tv/overridetheprogram
Other One Time Support Options:
▶ Use YouTube Thanks _support:
☕ patreon.com/codetechtuts?fan_landing=true
Patrons help this channel go round and keep creating. If you don't like patreon but still would like to support regularly, you can do a similar subscription via the YouTube Join, or through Github's sponsor button.

🕮 github.com/codetechandtutorials
This is were I most the majority of the code seen on the channel.

✍ discord.com/invite/TJ8Bs726jF
We have a Discord! We welcome all various code and tech chatter.

☯ twitch.tv/bytePro17124
I stream code and/or gaming every Thursday! I also randomly stream a time or two throughout most weeks.


6. CMake Tutorial EP 2 | Libraries and Subdirectories


this episode has been re-done, new version here: youtu.be/DDHCEE_PHOU

full CMake playlist: youtube.com/watch?v=nlKcXPUJGwA&list=PLalVdRk2RC6o5GHu618ARWh0VO0bFlif4
repo: github.com/codetechandtutorials/OurLordAndSavior
Find me, support me:
Stream: twitch.tv/overridetheprogram
Patreon: patreon.com/codetechtuts
One time donations: paypal.com/paypalme/mattearly
Shop via my Amazon Affiliates Link: amzn.to/3bVQ9X0
Business inquiries: [email protected]

Thanks for coming to the channel to check out a video on Code, Tech, and Tutorials.


7. C++ Weekly - Ep 208 - The Ultimate CMake / C++ Quick Start


Biggest episode ever! CMake, sanitizers, clang-tidy, conan, cmake-format, clang-format, cppcheck, doxygen, ctest, catch, {fmt}, and more!

Professional CMake Book: crascit.com/professional-cmake/

☟☟ See Below For News/Workshops/Events/Swag And Video Info ☟☟

T-SHIRTS AVAILABLE!

► The best C++ T-Shirts anywhere! my-store-d16a2f.creator-spring.com/

WANT MORE JASON?

► My Training Classes: emptycrate.com/training.html
► Follow me on twitter: twitter.com/lefticus

SUPPORT THE CHANNEL

► Patreon: patreon.com/lefticus
► Github Sponsors: github.com/sponsors/lefticus
► Paypal Donation: paypal.com/donate/?hosted_button_id=PQ4A2V6ZZFQEU

GET INVOLVED

► Video Idea List: github.com/lefticus/cpp_weekly/issues

JASON'S BOOKS

► C++ Best Practices
Amazon Paperback: amzn.to/3wpAU3Z
Leanpub Ebook: leanpub.com/cppbestpractices

JASON'S PUZZLE BOOKS

► Object Lifetime Puzzlers Book 1
Amazon Paperback: amzn.to/3g6Ervj
Leanpub Ebook: leanpub.com/objectlifetimepuzzlers_book1

► Object Lifetime Puzzlers Book 2
Amazon Paperback: amzn.to/3whdUDU
Leanpub Ebook: leanpub.com/objectlifetimepuzzlers_book2

► Object Lifetime Puzzlers Book 3
Leanpub Ebook: leanpub.com/objectlifetimepuzzlers_book3

► Copy and Reference Puzzlers Book 1
Amazon Paperback: amzn.to/3g7ZVb9
Leanpub Ebook: leanpub.com/copyandreferencepuzzlers_book1

► Copy and Reference Puzzlers Book 2
Amazon Paperback: amzn.to/3X1LOIx
Leanpub Ebook: leanpub.com/copyandreferencepuzzlers_book2

► Copy and Reference Puzzlers Book 3
Leanpub Ebook: leanpub.com/copyandreferencepuzzlers_book3

► OpCode Puzzlers Book 1
Amazon Paperback: amzn.to/3KCNJg6
Leanpub Ebook: leanpub.com/opcodepuzzlers_book1

RECOMMENDED BOOKS

► Bjarne Stroustrup's A Tour of C++ (now with C++20/23!): amzn.to/3X4Wypr

AWESOME PROJECTS

► The C++ Starter Project - Gets you started with Best Practices Quickly - github.com/cpp-best-practices/cpp_starter_project
► C++ Best Practices Forkable Coding Standards - github.com/cpp-best-practices/cppbestpractices

O'Reilly VIDEOS

► Inheritance and Polymorphism in C++ - oreilly.com/library/view/inheritance-and-polymorphism/9781491961933/
► Learning C++ Best Practices - oreilly.com/library/view/learning-c-best/9781491954898/


8. CMake fundamentals step by step with basic example - Part 1


The biggest problem working with C/C++ application development is it's build system.

Also this is one of the bottle neck, where lot of developer doesn't stay long with C/C++ application development, and they look for better and easy build system, which they only get in other programming languages like Rust, Java, C# et. not in C/C++

Also other pain point in C/C++ application development is they have lot of options for build system. Choosing one build system among many is one other pain point. Even after they choose, if project demands
to migrate to other build system, it's a nightmare.

To tackle add these problems we have CMake build system generators

In simple CMake is not a build system rather its generator of build system. You can choose the build system which you want to generate.

Learning CMake is not as simple as we hear, because we thing too much about compiling, linking and including.

In CMake, you can concentrate on organizing your folder structure rather than bothering about your build system and how to edit it. that is the beauty of CMake.

All C/C++ application program has three major things
1. How to create executable, shared library and static library
2. How to supply library to consumers
3. How to consume libraries from others

All these can be addressed easily with CMake irrespective of build system

In this upcoming videos, I will be explaining above three mentioned points

Since it is my first video tutorial, feel free to post your feedback


9. CMake Tutorial EP 2 | Libraries | Installing | Pairing with Executables | RE-DONE!


original ep2 - youtu.be/kEGQKzhciKc

full CMake playlist: youtube.com/watch?v=nlKcXPUJGwA&list=PLalVdRk2RC6o5GHu618ARWh0VO0bFlif4


10. CppCon 2017: Mathieu Ropert “Using Modern CMake Patterns to Enforce a Good Modular Design”


CppCon.org

Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2017

CMake is the build system chosen by most open-source C++ projects. While it is fully capable of helping you enforce a good modular design, those features are usually not well known or understood.

In this talk I will present modern CMake practices that will simplify your project build and help you design better C++ components with clear dependencies and build interfaces (the sum of compile flags required to use a given library).

We will first do a quick recap of the theory behind modular design, most of it coming from John Lakos' work on Large Scale C++ Software Development. Then we will see a few of the legacy CMake patterns that can be found in a lot of open source projects and explain their shortcomings. We will learn how to create a clean C++ library using modern CMake practices and depend on it in others modules. Finally, we will explore the options available to export the build interfaces for use by external projects. In this last part a few external tools will be discussed such as pkg-config and Conan.

Mathieu Ropert: Senior Developer, Murex

Mathieu is a Senior Developer at Murex where he works as a C++ expert and animates internal workshops & events. A long term open-source enthusiast, he tries to make C++ more portable across platforms. He is also co-host of the Paris C++ Meetup.

Videos Filmed & Edited by Bash Films: BashFilms.com *-----*
Register Now For CppCon 2022: cppcon.org/registration/
*-----*


11. Modern CMake for C++


How to build a simple C++ project with CMake? What about advanced projects?

#programming #tech #softwaredevelopment #cmake #cpp

Codes are valid till 26th March 2022!!!

Packtpub.com
packtpub.com/product/modern-cmake-for-c/9781801070058
Discount code: RAFAL25

Amazon.com
amazon.com/gp/mpc/A18ARUGR2JYNB5
Discount code: 25RAFAL


12. CMake основы


#soer #itubeteam

Основной канал для общения и публикации новых видео - Телегарм - t.me/softwareengineervlog

Спонсорство - donate.s0er.ru
Сайт платным контентом - soer.pro

Зеркало для видео Дзен Видео - zen.yandex.ru/id/5f578bdf22e26e081a67cfd2

GitHub - github.com/soerdev
Чат для программистов - discord.gg/3UVJWAs
Группа ВК - vk.com/codeartblog


13. CMake: How to Build and Package C/C++ Projects


In this workshop we will learn about CMake, a build generation tool used to build cross platform C/C++ projects. If you are struggling to start your own C/C++ journey, and don’t know how to structure a C/C++ project, then this workshop is for you!

Slides: docs.google.com/presentation/d/1JjVvntA9UqU0sYYy_U16rkcYSyTnn5SfF2vxiUs-V4o/edit?usp=sharing
Source code: github.com/Yousif-CS/concurrency
CppCon 2017 Mathieu Ropert Using Modern CMake Patterns to Enforce a Good Modular Design: youtube.com/watch?v=eC9-iRN2b04


14. C++ HelloWorld on Visual Studio Code with CMake Under 6 Minutes


Visual Studio Code is perhaps the best "free" integrated development environment (IDE) for C++ projects. In this video, I will walk over step by step installing VSCode, C++ extensions, creating a project, building, running, and debugging with CMake build system. Hopefully this video will help CLion users considering switching to VSCode.


15. Better CMake Part 1 -- Basic Project Setup and Usage


Topic time stamps:

0:00 - Intro + motivation
2:13 - Create a minimal CMakeLists.txt
4:10 - Build vs. source directories
5:03 - Separating build from source trees
6:09 - Running CMake on existing builds
7:03 - CMake UI tools
9:04 - Using different build system generators
10:04 - Generically invoke your build
10:53 - Wrap up

--------------------

GitHub: github.com/jeffamstutz
Twitter: twitter.com/jeffamstutz
Blog: jeffamstutz.io/


Video Terkait

Kategori General