config(verbosity): Set up verbosity level during building

This commit is contained in:
Emil Ivanichkov 2024-02-02 16:15:20 +02:00 committed by Emil Ivanichkov
parent ac63e53d49
commit 828cc4d580
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,15 @@
# verbosity level
V := 0
NIM_PARAMS := $(NIM_PARAMS) --verbosity:$(V)
HANDLE_OUTPUT :=
SILENT_TARGET_PREFIX := disabled
ifeq ($(V), 0)
NIM_PARAMS := $(NIM_PARAMS) --hints:off
# don't swallow stderr, in case it's important
HANDLE_OUTPUT := >/dev/null
SILENT_TARGET_PREFIX :=
endif
##################
## RLN ##
##################