Skip to content

Commit 1d280c1

Browse files
24m09c (#40)
* Refactor code to include missing header files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactor code to include missing header files * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactor code to remove unused files and dependencies * Refactor code to include missing header files and constants * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactor code to include missing CPM.cmake and Conan configurations * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactor code to include missing CPM.cmake and Conan configurations * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 141628f commit 1d280c1

File tree

206 files changed

+15946
-9630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+15946
-9630
lines changed
Lines changed: 47 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,69 @@
11
---
22
name: Bug report
3-
about: Create a report to help us improve
4-
title: ''
3+
about: Create a detailed report to help us improve
4+
title: ""
55
labels: bug
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
**Describe the bug**
11-
A clear and concise description of what the bug is.
10+
A clear and concise description of what the bug is. Include the specific error message if applicable.
11+
12+
**Steps to Reproduce**
13+
Steps to reproduce the behavior:
1214

13-
**Expected behavior**
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected Behavior**
1421
A clear and concise description of what you expected to happen.
1522

23+
**Actual Behavior**
24+
A clear and concise description of what actually happened. Include any error messages or logs.
25+
1626
**Screenshots**
1727
If applicable, add screenshots to help explain your problem.
1828

19-
**Desktop (please complete the following information):**
29+
**Environment (please complete the following information):**
2030

21-
- OS: [e.g. Ubuntu]
22-
- Browser [e.g. chrome, safari]
23-
- Version [e.g. 22]
31+
- OS: [e.g. Ubuntu 20.04]
32+
- Browser [e.g. Chrome 89, Safari 14]
33+
- Node.js version [e.g. 14.16.1]
34+
- npm version [e.g. 6.14.12]
35+
- Any other relevant environment details
2436

25-
**Additional context**
26-
Add any other context about the problem here.
37+
**Additional Context**
38+
Add any other context about the problem here, such as network conditions, user permissions, etc.
2739

28-
**描述错误**
29-
清晰简洁地描述遇到的错误。
40+
**Describe the bug (Chinese/描述错误)**
41+
清晰简洁地描述遇到的错误。包含具体的错误信息(如果适用)。
3042

31-
**预期行为**
43+
**Steps to Reproduce (Chinese/重现步骤)**
44+
重现行为的步骤:
45+
46+
1. 前往 '...'
47+
2. 点击 '....'
48+
3. 滚动到 '....'
49+
4. 看到错误
50+
51+
**Expected Behavior (Chinese/预期行为)**
3252
清晰简洁地描述你期望发生的行为。
3353

34-
**屏幕截图**
54+
**Actual Behavior (Chinese/实际行为)**
55+
清晰简洁地描述实际发生的事情。包括任何错误消息或日志。
56+
57+
**Screenshots (Chinese/屏幕截图)**
3558
如果适用,请添加屏幕截图以帮助解释你的问题。
3659

37-
**桌面环境(请填写以下信息):**
60+
**Environment (Chinese/环境信息)**
3861

39-
- 操作系统: [例如 Ubuntu]
40-
- 浏览器: [例如 Chrome,Safari]
41-
- 版本: [例如 22]
62+
- 操作系统: [例如 Ubuntu 20.04]
63+
- 浏览器: [例如 Chrome 89, Safari 14]
64+
- Node.js 版本: [例如 14.16.1]
65+
- npm 版本: [例如 6.14.12]
66+
- 任何其他相关的环境细节
4267

43-
**其他信息**
44-
在此处添加有关该问题的任何其他信息。
68+
**Additional Context (Chinese/其他信息)**
69+
在此处添加有关该问题的任何其他信息,例如网络状况,用户权限等
Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,37 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: feature request
6+
assignees: ""
87
---
98

109
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
10+
A clear and concise description of what the problem is, including any relevant context or examples. Ex. I'm always frustrated when [...]
1211

1312
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
13+
A detailed description of what you want to happen. Include specific requirements, acceptance criteria, and any potential impact on the existing system.
1514

1615
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
16+
A clear and concise description of any alternative solutions or features you've considered, including their pros and cons.
17+
18+
**Potential Risks and Challenges**
19+
Outline any potential risks, challenges, or considerations that might arise from implementing this feature.
1820

1921
**Additional context**
20-
Add any other context or screenshots about the feature request here.
22+
Add any other context, screenshots, or relevant information about the feature request here.
2123

2224
**您的功能请求是否与某个问题相关?请描述。**
23-
清晰简洁地描述问题是什么。例如:我总是对……感到沮丧。
25+
清晰简洁地描述问题是什么,包含任何相关的上下文或示例。例如:我总是对……感到沮丧。
2426

2527
**描述您想要的解决方案**
26-
清晰简洁地描述你希望发生的事情
28+
详细描述您希望发生的事情。包括具体的要求、验收标准以及对现有系统的任何潜在影响
2729

2830
**描述您考虑过的替代方案**
29-
清晰简洁地描述您考虑过的任何替代解决方案或功能。
31+
清晰简洁地描述您考虑过的任何替代解决方案或功能,包括它们的优缺点。
32+
33+
**潜在的风险和挑战**
34+
概述实施该功能可能出现的任何风险、挑战或需要考虑的问题。
3035

3136
**其他信息**
32-
在此处添加有关功能请求的任何其他上下文或屏幕截图
37+
在此处添加有关功能请求的其他上下文、屏幕截图或相关信息

CMakeLists.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,25 @@ LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
6060
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake_modules/")
6161
include(cmake_modules/compiler_options.cmake)
6262

63+
# ------------------ CPM Begin ------------------
64+
65+
set(CPM_DOWNLOAD_VERSION 0.35.6)
66+
set(CPM_DOWNLOAD_LOCATION "${CMAKE_BINARY_DIR}/cmake_modules/CPM.cmake")
67+
68+
if(NOT (EXISTS ${CPM_DOWNLOAD_LOCATION}))
69+
message(STATUS "Downloading CPM.cmake")
70+
file(DOWNLOAD
71+
"https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake"
72+
${CPM_DOWNLOAD_LOCATION}
73+
)
74+
endif()
75+
76+
include(${CPM_DOWNLOAD_LOCATION})
77+
78+
# ------------------ CPM End ------------------
79+
80+
# ------------------ Conan Begin ------------------
81+
6382
if (USE_CONAN)
6483
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake OPTIONAL) # Optional inclusion
6584

@@ -105,6 +124,8 @@ if(NOT EXISTS "${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
105124
endif()
106125
endif()
107126

127+
# ------------------ Conan End ------------------
128+
108129
# Include directories
109130
include_directories(${CMAKE_CURRENT_BINARY_DIR})
110131
include_directories(${CMAKE_SOURCE_DIR}/libs/)

0 commit comments

Comments
 (0)