What you'll learn:
- CMake Commands and Terminologies
- Importance of Make and CMake
- Importing and Exporting Packages
- CMake's Scripting Mode
- Configure Project Building using Cache Variables
- Linking against External Libraries
Learning CMake was never so easy!
Welcome to the course Master CMake for Cross-Platform C++ Project Building, where you will learn the CMake tool from the beginning. After completing this course, you'll be able to
Build CMake based projects,
Export your project, and
Link your executable against any CMake/Non-Cmake based library
Enroll Now and enjoy the 3.5-hours ride to learn the most powerful way of building the C++ projects.
This course is made after extensive research on Stackoverflow, Quora, Reddit, Youtube, and other Q&A websites to handpick the concepts which are difficult to understand for the beginners. The course starts with compiling a simple C++ code; and, over the modules, various functionalities are added as the complexity increases.
The broad outline of the course is as follows:
Section 1:
Problems associated with NOT using a build system
Difference between a build system (Make) and a meta-build system (CMake).
Section 2:
Installation of CMake
First executable using the CMake
Section 3:
Managing large projects using sub-directories
Section 4:
Variables, Lists, and Strings
Scripting Capabilities of CMake
Section 5:
Flow Control commands (If-else commands and the Loops)
Functions, Scopes, Macros, Modules, and Listfiles.
Section 6:
Configuring a project using Cache Variables
Concept of Libraries
Using Ninja Build System with CMake
Section 7:
Installation a package that is developed by someone else
Export our package so that someone else can use it
Section 8:(Read through Section)
Miscellaneous small concepts, FAQs and tips
Section 9:
Problems while installing and using External Libraries
Using External Libraries developed using both CMake and Non-CMake based build systems
Enroll Now and enjoy the 3.5-hours ride to learn the most powerful way of building the C++ projects.