Compare commits

..

2 Commits

Author SHA1 Message Date
Adrien Bourmault 502fc8939f Makefile: integrate libasan to our build system
The libasan library allows to get reports for memory leaks and stack
issues at runtime, with very few performance drawbacks.

This commits add integration for this in the Makefile, for the default
target.

Signed-off-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2024-11-22 16:38:30 +01:00
Adrien Bourmault 546497f349 manifest.scm: add doxygen as a dependency
Doxygen is used to generate documentation, this commit makes sure it is
loaded in the `guix shell` environment (which is useful for guix users).

Signed-off-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2024-11-22 16:37:26 +01:00
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,9 @@ DOXYGEN=doxygen
CFLAGS=`pkg-config --cflags gtk4 epoxy glib-2.0 libxml-2.0`
LDFLAGS=`pkg-config --libs gtk4 epoxy glib-2.0 libxml-2.0` -lGL -lGLU -lm -lepoxy -lX11 -lGLEW
WARNINGS = -Wall
DEBUG = -ggdb -fno-omit-frame-pointer #-fdiagnostics-color=always -fsanitize=bounds -fstack-check
DEBUG = -ggdb -fno-omit-frame-pointer \
-fdiagnostics-color=always \
-fsanitize=address,undefined -fstack-protector-strong
OPTIMIZE = -O3
BINDIR=bin

View File

@ -7,6 +7,7 @@
(list
"bash"
"coreutils"
"doxygen"
"gcc-toolchain"
"pkg-config"
"valgrind"