auto commit
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
#define TAP_DLLEXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define TAP_CDECL
|
||||
#define TAP_DLLEXPORT __declspec(dllexport)
|
||||
#define TAP_DLLEXPORT
|
||||
#endif
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
|
||||
const int GenIdCount = 50000;
|
||||
const bool multiThread = false;
|
||||
const bool multiThread = true;
|
||||
const int threadCount = 50;
|
||||
const int method = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user