Skip to content

potat-dev/cpplabs

Repository files navigation

SUAI C++ Labs

A repository for learning Git, C/C++ and CMake in SUAI

CMake CodeQL

Useful links

Tasks for laboratory works: Google Docs
My formatted Lab tasks: TASKS.md
Formatted reports: Google Drive

Build

Requirements

  • C++17 compiler (GCC, Clang, MSVC)
  • CMake 3.12+ (3.20+ recommended)

Tested on:

  • GCC 12.2.0 (MinGW-w64, Windows 10)
  • GCC 9.4.0 (Ubuntu 20.04, WSL2)

Some labs may require additional libraries / tools:

Build steps

  1. Clone the repository

    git clone https://github.com/cypotat/cpplabs.git
  2. Create a build directory

    mkdir build
    cd build
  3. Generate build files

    cmake ..
  4. Build the project

    cmake --build .

    If you want to build a specific lab, you can specify the target name

     cmake --build . --target Lab_20_dop

    If you want to build a debug version, you can specify the build type

    cmake --build . --config Debug

Time spent on labs

wakatime