diff options
author | vimene <vincent.menegaux@gmail.com> | 2025-06-26 01:12:08 +0200 |
---|---|---|
committer | vimene <vincent.menegaux@gmail.com> | 2025-06-26 01:12:08 +0200 |
commit | 625d18a6053e28762c77efd3dd0d79fc01b0b0ef (patch) | |
tree | bd7bd31a40b9d8061c32c9953d78412e2cf90a48 /Makefile.am | |
parent | fc8e5fc191822c244f51335e49d44f5a047b128e (diff) | |
download | engine-625d18a6053e28762c77efd3dd0d79fc01b0b0ef.tar.gz |
added validation layers to vulkanvulkan
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 60712f6..0a27d41 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,6 +5,14 @@ if ENABLE_TESTS endif ACLOCAL_AMFLAGS = -Im4 --install +CXXFLAGS = +if DEBUG +CXXFLAGS += -ggdb +else +CXXFLAGS += -DNDEBUG +endif +CXXFLAGS += -O2 + bin_PROGRAMS = engine engine_SOURCES = \ |