Skip to content

Paso — 3-compilar

Step 4 of 5

Configure and build

From the project root: cmake -B build creates the build folder; cmake --build build produces the executable.

  1. Run cmake -B build.
  2. Run cmake --build build.
  3. If errors appear, read the message—usually a typo in main.cpp.

Tip: Environment guide: /en/introduccion/entorno/