Comment

Comment by ddeville

Maybe I’m too boring but what about using preprocessor defines: stick it as a -D flag in CPPFLAGS in your makefile from and env var or wherever that info comes from and read it in the source.

At least it’s how I’ve always seen it done and it does feel simpler although, yeah, maybe not as fun :)

parent ddeville 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton