+ - 0:00:00
Notes for current slide
Notes for next slide

Introduction to CMake

Roberto Di Remigio

UiT - The Arctic University of Norway

Department of Chemistry - Virginia Tech

14 August 2019, Blacksburg

1 / 6

Why CMake?

  • Build system generator (cmake)
  • Cross-platform
  • Language-agnostic
  • Test orchestration (ctest)
  • Packaging (cpack)
  • Test reporting (cdash)
2 / 6

De facto standard

CMake times

Data downloaded from https://trends.google.com on 2019-08-10.

3 / 6

What is CMake?

CMake times

4 / 6

Where to find more details

5 / 6

Hands-on exercises

Prerequisites:

Exercises:

  1. Build a source file into an executable (code).
  2. Build library and executable for a project with dependencies (code).
  3. Unit testing with Catch2 (code).
  4. Mixed-language projects and testing (code).
  5. More on unit testing with Catch2 (code).
6 / 6

Why CMake?

  • Build system generator (cmake)
  • Cross-platform
  • Language-agnostic
  • Test orchestration (ctest)
  • Packaging (cpack)
  • Test reporting (cdash)
2 / 6
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow