Skip to content

fix: define version macros for C++ builds - #1910

Merged
fxliang merged 1 commit into
rime:masterfrom
fxliang:master
Aug 14, 2026
Merged

fix: define version macros for C++ builds#1910
fxliang merged 1 commit into
rime:masterfrom
fxliang:master

Conversation

@fxliang

@fxliang fxliang commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

 VERSION_*  只传给了 Resource Compiler,没有传给 C++ 编译器;因此  WEASEL_VERSION  被字符串化为字面量  VERSION_MAJOR.VERSION_MINOR.VERSION_PATCH

这会导致C++代码中的宏回退成字面量,影响部署产物中的对应记录回退成字面量

@fxliang
fxliang requested a review from lotem August 14, 2026 01:05
@fxliang
fxliang merged commit c681ea8 into rime:master Aug 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants