-
Notifications
You must be signed in to change notification settings - Fork 8
sync: from linuxdeepin/dtklog #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: deepin-ci-robot The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
cd64b84 to
1b818e1
Compare
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
1b818e1 to
f449a35
Compare
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
f449a35 to
5f29937
Compare
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
5f29937 to
64c4c2a
Compare
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
64c4c2a to
b317f60
Compare
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
b317f60 to
25bd804
Compare
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
Synchronize source files from linuxdeepin/dtklog. Source-pull-request: linuxdeepin/dtklog#23
25bd804 to
faf9c9f
Compare
deepin pr auto review我来对这段 CMakeLists.txt 的变更进行详细审查:
改进建议:
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/VERSION")
message(FATAL_ERROR "VERSION file not found")
endif()
if(NOT FILE_VERSION MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+$")
message(FATAL_ERROR "Invalid version format")
endif()
# DTK5: Legacy version for Qt5-based applications
# DTK6: New version for Qt6-based applications
option(DTK5 "Build DTK5." ON)
if(NOT BUILD_WITH_QT6 AND NOT DTK5)
message(FATAL_ERROR "Invalid configuration: Qt5 build requires DTK5")
endif()总体来说,这次变更改进了版本管理和项目配置,使代码更加规范和灵活,但还需要一些细节优化和文档补充。 |
|
Note
详情{
"CMakeLists.txt": [
{
"line": " HOMEPAGE_URL \"https://github.com/linuxdeepin/dtklog\"",
"line_number": 13,
"rule": "S35",
"reason": "Url link | 6fabe13a51"
}
]
} |
Synchronize source files from linuxdeepin/dtklog.
Source-pull-request: linuxdeepin/dtklog#23