Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Introduction to CMake
Rating: 3.9 out of 5(156 ratings)
536 students

Introduction to CMake

Learn Managing Build Processes
Created byDennis Groß
Last updated 5/2019
English

What you'll learn

  • Introduction to CMake
  • CMake Programming
  • Advanced CMake (Targets and Properties, Subdirectories, Export, Install, ...)
  • CTest

Course content

1 section8 lectures1h 5m total length
  • Environment Setup5:15

    In this video we are going to setup our environment.

    Overview of all commands:

    sudo apt-get install g++

    sudo apt-get install make

    sudo apt purge --auto-remove cmake

    ./bootstrap # after downloading cmake (in cmake folder)

    make -j4

    sudo make install

    cmake --version

  • An Introduction to CMake6:23
  • Basic Understanding
  • First CMake Project19:24
    • We will build our first CMake Project

    • We will learn to understand the CMake Documentation

  • Basic Understanding
  • CMake Language12:46
    • Console Output

    • Variables

    • if/else

    • Foreach

    • Lists

    • CMake Variables

    • Cache Variables

  • Basic Understanding
  • CTest11:47
    • What is find_package() and how does it work?

    • Add a Unit-Test to your Project

    • Use CTest to run your Unit-Test

  • Package Export8:06
  • Install1:55
  • Complete Code0:03

Requirements

  • C++
  • Linux

Description

CMake is a powerful tool for software developers and every C++ developer should know how to use it properly. In this course, you will learn to program modern CMake in order to manage your build processes. The course contains videos, slides and quizzes. After this course, you will use CMake like a programming language and you will be able to create your own build pipelines for your C++ projects.

Who this course is for:

  • Software developer
  • C++ developer