Skip to content
Snippets Groups Projects
Select Git revision
  • 633996860a8b05b6847c0c441170749376054368
  • master default protected
2 results

cmake-tutorial

  • Clone with SSH
  • Clone with HTTPS
  • Armin Sobhani's avatar
    Armin Sobhani authored
    63399686
    History
    Name Last commit Last update
    step1
    step2
    .gitignore
    README.md

    CMake Tutorial

    Step by step tutorial for CMake:

    • Step 1 -- Minimalistic make: Serial Hello World!
    • Step 2 -- Adding parallel (MPI) version: Finding packages by find_package()
    • Step 3 -- Building both serial and parallel (MPI) versions
    • Step 4 -- Making MPI version optional: Using option()
    • Step 5 -- Showing program version using Boost.Program_options: Correct way of using find_package(BOOST)
    • Step 6 -- Reading version info from one place: Configuring header files
    • Step 7 -- Installing the files: Using install()
    • Step 8 -- Installing the files revisited: Case of RPATH in module environments
    • Step 9 -- Making installer packages: CPack driven installer packages (RPM, DEB, etc.)
    • Step 10 -- Testing using CTest