Chapter 2.1 : What is CMake ?

CMake (http://www.cmake.org/) is a program which generates the Makefiles used by Make.

Why use CMake ?



  • Eases Make use
    • but the same way of thinking
    • generate the Makefile
  • Separate the compilation from the sources
  • Multi-platfoms
  • Very flexible
  • Check if the libraries/programs are available on your system
  • File generator (configure_file)
  • Calling programs or scripts (doxygen)
  • One of the new standards