Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

CMake for C++ Projects

person icon Hristo Konstantinov Iliev

4.3

CMake for C++ Projects

Learn CMake to manage your C/C++ project! As well as how to manage dependencies and cross-compile to other platfroms.

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Hristo Konstantinov Iliev

category icon C++,Programming,C Programming,Development,Programming Languages

Lectures -76

Resources -14

Quizzes -8

Duration -2.5 hours

4.3

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

This course is all about CMake. CMake is an application that helps you structure C/C++ based native projects, generate build commands for the target platform, build your application, pack it into an installer, install it, test it, and it will even help you with managing your dependencies.

In this course, you will learn how to use CMake to structure and compile your C/C++ projects as well as how to manage your dependencies. I will talk about cross-platform development and even how to get your project compiled for the web using Emscripten. Then I will show you how to include unit tests and test your application. There is also a section on customizing the build pipeline with your own tools (if you want to do your own custom build steps). You will also be able to learn how to compile other projects that support CMake and even ones that do not. We will finish up with how to install and package your project.

In the end, you will have all the knowledge needed to be able to open up a random CMake project and compile it yourself. You will also be able to confidently start and write your own CMake scripts for your projects. This will elevate your programming experience with the low-level C/C++ languages and it will also simplify a lot of the hard concepts related to those languages.

Goals

What will you learn in this course:

The goal of this course is:

  • To learn the CMake language
  • Learn how to set up your C/C++ projects
  • Learn how to execute CTest unit tests
  • Learn how to manage dependencies for C++ projects
  • Learn how to cross-compile
  • Learn how to run your own tools and scripts on build
  • Learn how to install a CMake project on your system

Prerequisites

What are the prerequisites for this course?

To begin with this course you have to have:

  • Basic knowledge of C++ (Hello World)
  • Basic programming knowledge in any language:
    • Variables
    • Conditions
    • Loops
    • Functions
CMake  for C++ Projects

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction
3 Lectures
  • play icon Promo 01:48 01:48
  • play icon FAQ
  • play icon Course Overview 01:51 01:51
Setup
2 Lectures
Tutorialspoint
Prerequisites
6 Lectures
Tutorialspoint
First Contact
5 Lectures
Tutorialspoint
The CMake Language
11 Lectures
Tutorialspoint
Building Projects
14 Lectures
Tutorialspoint
Dependency Management
5 Lectures
Tutorialspoint
Compiling for the Web
3 Lectures
Tutorialspoint
Running Tools
7 Lectures
Tutorialspoint
Testing & CTest
6 Lectures
Tutorialspoint
Installation & CPack
4 Lectures
Tutorialspoint
Code Snippets & Bonus Materials
10 Lectures
Tutorialspoint

Instructor Details

Hristo Konstantinov Iliev

Hristo Konstantinov Iliev

I am a professional programmer. Currently, I am a Gameplay Programmer at Ubisoft but before that, I was a Technical Lead in a business company where I had the opportunity to work on various projects. I've also worked with many programming languages, concepts, and application architectures. I also have my own startup called Paper Cranes Ltd.

In my line of work, I've mentored and elevated many professionals to be experienced developers.

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515