Skip to content

Commit

Permalink
add configure option data
Browse files Browse the repository at this point in the history
  • Loading branch information
catriverr authored Sep 8, 2024
1 parent 2ae0e39 commit 517b05e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@ builds:
make test2 (builds unit tests / tests/test.cpp)
options:
make [debug] [no-ncurses] [use-external] [warnings] [all/test/test2]
make configure
```
- The `debug` option adds the `-g -O0 -fsanitize=address` flags to the compiler.
- The `no-ncurses` option disables the auto-imports to `utils/interface.cpp` and `types/interface.h` from the `gmeng.h` header.
- The `use-external` option enables the auto-imports to `SDL2/SDL.h` headers for SDL-based windows.
- The `warnings` option enables `-Wall` so all warnings are displayed by the compiler.

- The `configure` option runs the configuration utility to set up the buildconfig for a program.

## Debugging
Gmeng is designed and configured to be debugged with the `llvm/lldb` debugger. To debug different functionalities of the library, run llvm with the unit tests binary.
```sh
Expand Down

0 comments on commit 517b05e

Please sign in to comment.