mod: optional JSON version output, global or local define

pull/52/head
Zilog80 2021-01-31 13:37:15 +01:00
rodzic 1d7238b96a
commit 5a4f9ebd41
1 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -1,8 +1,14 @@
#ifndef VERSION_JSN_H
#define VERSION_JSN_H
// e.g.
// #define VER_JSN_STR "0.0.1alpha1"
/*
compile options
(a) -DVERSION_JSN (set global)
(b) -DVER_JSN_STR=\"0.0.2\" (set local)
*/
// e.g. global option (a)
// #define VER_JSN_STR "0.0.1"
#define VER_JSN_STR ""