Tutorialspoint

Mid-Year Savings Flat 10% OFF, Use Code: MID10

CMake for C++ Projects

person icon Hristo Konstantinov Iliev

4

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 Jul, 2024

language icon Language - English

person icon Hristo Konstantinov Iliev

English [CC]

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

Lectures -76

Resources -14

Quizzes -8

Duration -2.5 hours

4

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

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

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

Hi, I'm Hristo,

I'm a Software Engineer and in my professional carrer I've been a Technical Lead with C# and Senior Gamplay Programmer with C++. I have practical and advanced knowledge in many programming languages. I am also the co-founder of a startup called Paper Cranes Ltd. which specializes in website development.

In my line of work, I've mentored and elevated many professionals to be experienced developers. If you learn with me you will be gaining real practical knowledge that you can apply tomorrow at your job or at your next project

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