Re: [dev] Decouple build system from program settings

From: Dmitrij D. Czarkoff <czarkoff_AT_gmail.com>
Date: Fri, 5 Dec 2014 12:06:05 +0100

FRIGN said:
> This is just wrong. Or do you expect people to dig
> in the code to change the colours?

No.

Dmitrij D. Czarkoff said:
> diff --git a/config.mk b/config.mk
...
> # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
> # On OpenBSD and Darwin remove -lcrypt from LIBS
> +# Redefine COLOR1 and COLOR2 to set custom colors

So I expect people to read config.mk.

> Better yet, if you want to make the separation, create
> a config.h and put the option in there.

This was my initial thought, but config.def.h with 2 lines doesn't seem
sane. Although it is saner then mixing configuration of build system
and program options in one file.

-- 
Dmitrij D. Czarkoff
Received on Fri Dec 05 2014 - 12:06:05 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 05 2014 - 12:12:04 CET