1
0
mirror of synced 2026-04-18 14:28:43 +08:00

auto commit

This commit is contained in:
yitter
2021-03-28 14:51:11 +08:00
parent ffd831cd16
commit 5e6116ef38
3 changed files with 4 additions and 3 deletions

View File

@@ -20,8 +20,9 @@ add_subdirectory(idgen)
##编译执行文件
set(LIB_SRC YitIdHelper.h YitIdHelper.c)
add_library(YitIdHelper ${LIB_SRC})
add_executable(YitIdGen main.c)
target_link_libraries(YitIdHelper idgen)
target_link_libraries(YitIdGen YitIdHelper)
target_link_libraries(YitIdGen idgen)

View File

@@ -8,6 +8,6 @@
#define TAP_DLLEXPORT __declspec(dllexport)
#else
#define TAP_CDECL
#define TAP_DLLEXPORT __declspec(dllexport)
#define TAP_DLLEXPORT
#endif

View File

@@ -16,7 +16,7 @@
const int GenIdCount = 50000;
const bool multiThread = false;
const bool multiThread = true;
const int threadCount = 50;
const int method = 1;