Course Code: cmake1
Duration: 14 hours
Course Outline:
  • What CMake is and how it works
  • CMake generators
  • CMake variables
  • Creating basic targets
  • Modern CMake project structure
  • Conditions
  • Loops
  • Definitions
  • CMake cache
  • Adding test to build system
  • Introduction to CTest
  • CMake build types
  • Functions and macros
  • Setting compiler flags
  • Finding external dependencies
  • Creating own find package files
  • Cross-compilation setup
  • Configuring files
  • Running external tools
  • Integrating with popular tools: doxygen, ccache, clang-tidy
  • Installing basics