2.6. Build and run executable

In this section we will build and run the foo executable. You can do it by opening the project in an IDE or by using the command line (it doesn’t matter how the project was generated earlier: by using either the GUI or CLI version of CMake).