Tutorialspoint

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.

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
Show More

Curriculum

Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Tutorialspoint
Feedbacks
  • No Feedbacks Posted Yet..!
CMake  for C++ Projects
This Course Includes
  • 2.5 hours
  • 76 Lectures
  • 14 Resources
  • 30 Quiz Questions
  • Completion Certificate Sample Certificate
  • Lifetime Access Yes
  • Language English
  • 30-Days Money Back Guarantee

Sample Certificate

Use your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

We have 30 Million registered users and counting who have advanced their careers with us.

X

Sample Certificate

Talk to us

1800-202-0515