refactor: 将 APP_NAME 宏从 CMake 配置文件生成改为静态头文件

This commit is contained in:
2026-06-05 18:59:38 +08:00
parent ebc277201a
commit f540c07aad
6 changed files with 11 additions and 18 deletions

View File

@@ -91,9 +91,3 @@ target_link_libraries(${APP_NAME}
PRIVATE m
PRIVATE ${deps_LIBRARIES}
)
configure_file("${SOURCE_DIR}/app.h.in"
"${BUILD_DIR}/app.h"
ESCAPE_QUOTES
@ONLY
)