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: e2ea7bd
  • Loading branch information
Nambers committed Oct 21, 2021
1 parent 8a5b7c1 commit 9fb01d1
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 9fb01d1

Please sign in to comment.