Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cmake_minimum_required(VERSION 3.21...3.31)
project(ZlibValidation
LANGUAGES CXX
VERSION 1.1.2
VERSION 1.1.3
)

# Define author information
set(PROJECT_AUTHOR "Song Zixuan" CACHE STRING "Project maintainer")
set(PROJECT_CONTACT "cedar@zju.edu.cn" CACHE STRING "Contact info")
set(PROJECT_AUTHOR "Song Zixuan (宋子轩)")
set(PROJECT_CONTACT "zx.song@zju.edu.cn, songcedar@outlook.com")

# Set default build type to Release if not specified
if(NOT CMAKE_BUILD_TYPE)
Expand Down
13 changes: 12 additions & 1 deletion doc/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,4 +427,15 @@
### 2025-04-10

- 修正了 `printInfo()` 函数中的注释错误,将文件日志级别更正为 `trace`,而非 `debug`。
- 添加了 `mono` 子命令的测试命令到 `test.sh` 脚本中。
- 添加了 `mono` 子命令的测试命令到 `test.sh` 脚本中。

### 2025-04-15

- 修复了 `LibraryComparator::generateReport` 方法中的一个 bug,max_diff现在能基于绝对值比较得出最大差异,并且最大差异百分比保持一致。
- 完善了所有关键子命令的测试命令,确保每个子命令都能在 `test.sh` 脚本中正确执行。

## 2026-05

### 2026-05-13

- 修复作者联系邮件信息在cmakelists修改后不能自动更新到version.h的问题。导致这个问题的原因是 `CMakeLists.txt` 中使用了 `CACHE` 变量。`set(VAR "VALUE" CACHE STRING "DocString")` 这种方式只会在这两个变量还未缓存时赋值。如果在 CMakeLists.txt 中修改了内容,而且 CMake 之前已经生成过并保存了 Cache 文件(`CMakeCache.txt`),CMake 就不会再覆盖它们的值,因此相应的模板替换也就不会更新出新的结果。补充了中文名、备用邮箱、更新了版本号为1.1.3。
10 changes: 5 additions & 5 deletions include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#define APP_NAME "ZlibValidation"
#define APP_VERSION_MAJOR 1
#define APP_VERSION_MINOR 1
#define APP_VERSION_PATCH 2
#define APP_VERSION "1.1.2"
#define APP_AUTHOR "Song Zixuan"
#define APP_CONTACT "cedar@zju.edu.cn"
#define BUILD_TIMESTAMP "2025-04-15 16:33:51"
#define APP_VERSION_PATCH 3
#define APP_VERSION "1.1.3"
#define APP_AUTHOR "Song Zixuan (宋子轩)"
#define APP_CONTACT "zx.song@zju.edu.cn, songcedar@outlook.com"
#define BUILD_TIMESTAMP "2026-05-13 10:02:14"
Loading