Skip to content
Snippets Groups Projects
Commit 868f1cc9 authored by Steve Lhomme's avatar Steve Lhomme Committed by Thomas Guillem
Browse files

contrib: add generic meson support


to differentiate optimized and debug builds

Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
parent 55acd54c
No related branches found
No related tags found
No related merge requests found
......@@ -359,6 +359,15 @@ ifeq ($(V),1)
CMAKE += -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
endif
MESON = meson --default-library static --prefix "$(PREFIX)" --backend ninja \
-Dlibdir=lib
ifndef WITH_OPTIMIZATION
MESON += --buildtype debug
else
MESON += --buildtype release
endif
ifdef GPL
REQUIRE_GPL =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment