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:
12
cmake/templates/unity_version.h.in
Normal file
12
cmake/templates/unity_version.h.in
Normal 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 */
|
||||
Reference in New Issue
Block a user