feat: use CMake to generate library version info.
- use CMake to produce YYCC version header when configuring.
This commit is contained in:
5
cmake/YYCCVersion.hpp.in
Normal file
5
cmake/YYCCVersion.hpp.in
Normal file
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#define YYCC_VER_MAJOR @PROJECT_VERSION_MAJOR@
|
||||
#define YYCC_VER_MINOR @PROJECT_VERSION_MINOR@
|
||||
#define YYCC_VER_PATCH @PROJECT_VERSION_PATCH@
|
Reference in New Issue
Block a user