Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 828 Bytes

BUILD.md

File metadata and controls

41 lines (26 loc) · 828 Bytes

Building GcLaDOS

Firstly, make sure you've installed all these tools:

  1. CMake (at least 3.20)
  2. GCC (at least 11.2.0)
  3. Make, or any other alternative.

Debug

To build packages for debugging, run these commands one after another:

1). Generate project

cmake -B cmake-build-debug -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" -S . -Wdev

2). Build

cmake --build cmake-build-debug -Wdev

Release

To build all packages in release mode, run these commands:

1). Generate project

cmake -B cmake-build-release -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles" -S .

2). Build

cmake --build cmake-build-release

Required files will appear in bin directory.