DaisySP icon indicating copy to clipboard operation
DaisySP copied to clipboard

version.h header for preprocessor version checks

Open TheSlowGrowth opened this issue 4 years ago • 1 comments

It would be neat to include a version.h file that contains a version number so that Daisy projects could use preprocessor statements to check if a matching version of DaisySP is available.

#define DAISYSP_VER_MAJ 0
#define DAISYSP_VER_MIN 1
#define DAISYSP_VER_PATCH 23

This assumes that such a versioning scheme exists already. I haven't seen it yet, tbh.

TheSlowGrowth avatar May 30 '20 11:05 TheSlowGrowth

Yeah, this is a good idea

We haven't actually started versioning it yet because everything was moving so fast, and so few people had the Daisy. Now that they're starting to go out this will become important quickly.

I can make a base v0.1.0 release soon, and add the file. I'll close this when I get to it.

stephenhensley avatar May 30 '20 17:05 stephenhensley