Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
perf(cpp): separater implementation into miraiCP.cpp to try to fix #96
Browse files Browse the repository at this point in the history


Former-commit-id: 43abeec8921d3fbcccac9bbe278b87af7534a03c [formerly 16bd1bcc33b4a44dc5fe659cb7d9a863e93e6672]
Former-commit-id: 894083ae3503cc6e5cba9ea473562cce62176f00
  • Loading branch information
Nambers committed Oct 21, 2021
1 parent c756b67 commit 992b7a0
Show file tree
Hide file tree
Showing 4 changed files with 1,109 additions and 1,038 deletions.
2 changes: 2 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ set(BUILD_USE_64BITS on)
add_library(
MiraiCP
SHARED
include/miraiCP.cpp
demo.cpp)
# 设置输出的dll文件的名字(最后一个参数),目前是MiraiCP.dll
set_target_properties(MiraiCP PROPERTIES OUTPUT_NAME MiraiCP)
Expand All @@ -23,6 +24,7 @@ set_target_properties(MiraiCP PROPERTIES OUTPUT_NAME MiraiCP)
add_library(
MiraiCP_Test
SHARED
include/miraiCP.cpp
include/test/test.cpp
include/test/test2.cpp)
set_target_properties(MiraiCP_Test PROPERTIES OUTPUT_NAME MiraiCP)
Expand Down
Loading

0 comments on commit 992b7a0

Please sign in to comment.