1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-23 00:15:58 +01:00

cmake: update CMake

This commit is contained in:
Vitalii Shylienkov
2020-04-09 13:58:45 +02:00
parent 10fd84f02b
commit d603ccdc3b
5 changed files with 114 additions and 42 deletions

View File

@@ -0,0 +1,12 @@
#ifndef UNITY_CONFIG_H
#define UNITY_CONFIG_H
#define UNITY_VERSION_STRING "@PROJECT_VERSION@"
#define UNITY_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define UNITY_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define UNITY_VERSION_BUILD @PROJECT_VERSION_PATCH@
#define UNITY_VERSION ((UNITY_VERSION_MAJOR << 16) | \
(UNITY_VERSION_MINOR << 8) | \
UNITY_VERSION_BUILD)
#endif /* UNITY_CONFIG_H */