Added define *_VERSION_STRING for all modules

This commit is contained in:
lexborisov 2017-03-14 23:55:52 +03:00
parent 455a853cf2
commit 1eb9ddae92
16 changed files with 40 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#define MODEST_MYOSI_H
#pragma once
#include <mycore/myosi.h>
#include <myhtml/myhtml.h>
#include <mycss/mycss.h>
@ -29,6 +30,8 @@
#define MODEST_VERSION_MINOR 0
#define MODEST_VERSION_PATCH 6
#define MODEST_VERSION_STRING MyCORE_STR(MODEST_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -29,10 +29,15 @@
#include <stdint.h>
#include <inttypes.h>
#define MyCORE_STR_HELPER(x) #x
#define MyCORE_STR(x) MyCORE_STR_HELPER(x)
#define MyCORE_VERSION_MAJOR 0
#define MyCORE_VERSION_MINOR 1
#define MyCORE_VERSION_PATCH 0
#define MyCORE_VERSION_STRING MyCORE_STR(MyCORE_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -26,6 +26,8 @@
#define MyCSS_VERSION_MINOR 1
#define MyCSS_VERSION_PATCH 0
#define MyCSS_VERSION_STRING MyCORE_STR(MyCSS_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -28,6 +28,8 @@
#define MyENCODING_VERSION_MINOR 1
#define MyENCODING_VERSION_PATCH 0
#define MyENCODING_VERSION_STRING MyCORE_STR(MyENCODING_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -44,6 +44,8 @@
#define MyFONT_VERSION_MINOR 0
#define MyFONT_VERSION_PATCH 2
#define MyFONT_VERSION_STRING MyCORE_STR(MyFONT_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -38,6 +38,8 @@
#define MyHTML_VERSION_MINOR 0
#define MyHTML_VERSION_PATCH 0
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>

View File

@ -28,6 +28,8 @@
#define MyHTML_VERSION_MINOR 0
#define MyHTML_VERSION_PATCH 0
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -28,6 +28,8 @@
#define MyURL_VERSION_MINOR 1
#define MyURL_VERSION_PATCH 0
#define MyURL_VERSION_STRING MyCORE_STR(MyURL_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -22,6 +22,7 @@
#define MODEST_MYOSI_H
#pragma once
#include "mycore/myosi.h"
#include "myhtml/myhtml.h"
#include "mycss/mycss.h"
@ -29,6 +30,8 @@
#define MODEST_VERSION_MINOR 0
#define MODEST_VERSION_PATCH 6
#define MODEST_VERSION_STRING MyCORE_STR(MODEST_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MODEST_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -29,10 +29,15 @@
#include <stdint.h>
#include <inttypes.h>
#define MyCORE_STR_HELPER(x) #x
#define MyCORE_STR(x) MyCORE_STR_HELPER(x)
#define MyCORE_VERSION_MAJOR 0
#define MyCORE_VERSION_MINOR 1
#define MyCORE_VERSION_PATCH 0
#define MyCORE_VERSION_STRING MyCORE_STR(MyCORE_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCORE_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -26,6 +26,8 @@
#define MyCSS_VERSION_MINOR 1
#define MyCSS_VERSION_PATCH 0
#define MyCSS_VERSION_STRING MyCORE_STR(MyCSS_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyCSS_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -28,6 +28,8 @@
#define MyENCODING_VERSION_MINOR 1
#define MyENCODING_VERSION_PATCH 0
#define MyENCODING_VERSION_STRING MyCORE_STR(MyENCODING_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyENCODING_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -44,6 +44,8 @@
#define MyFONT_VERSION_MINOR 0
#define MyFONT_VERSION_PATCH 2
#define MyFONT_VERSION_STRING MyCORE_STR(MyFONT_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyFONT_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -38,6 +38,8 @@
#define MyHTML_VERSION_MINOR 0
#define MyHTML_VERSION_PATCH 0
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
#include <stdbool.h>
#include <stddef.h>
#include <stdio.h>

View File

@ -28,6 +28,8 @@
#define MyHTML_VERSION_MINOR 0
#define MyHTML_VERSION_PATCH 0
#define MyHTML_VERSION_STRING MyCORE_STR(MyHTML_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyHTML_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -28,6 +28,8 @@
#define MyURL_VERSION_MINOR 1
#define MyURL_VERSION_PATCH 0
#define MyURL_VERSION_STRING MyCORE_STR(MyURL_VERSION_MAJOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_MINOR) MyCORE_STR(.) MyCORE_STR(MyURL_VERSION_PATCH)
#ifdef __cplusplus
extern "C" {
#endif