Ensure you have a C++ compiler (like GCC/MinGW or Clang) and CMake 3.10+ installed on your system.
To ensure a clean environment and avoid configuration conflicts, please follow these steps:
-
Clean previous builds (Recommended): Delete the existing
build/directory if it exists. -
Configure the project: This command prepares the build system and gathers your dependencies.
cmake -B build
-
Compile the executable: This command will compile the code into an executable in the build folder.
cmake --build build