Build settings related code only once
Extract configuration related code into an internal library called settings that the other targets are linked to.
Extract configuration related code into an internal library called settings that the other targets are linked to.