electro-smith / DaisySP

A Powerful DSP Library in C++
https://www.electro-smith.com/daisy
Other
866 stars 138 forks source link

version.h header for preprocessor version checks #30

Open TheSlowGrowth opened 4 years ago

TheSlowGrowth commented 4 years ago

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.

stephenhensley commented 4 years ago

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.