公告板
版本库
filestore
活动
搜索
登录
aps
/
apsClient
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
获取任务,未完成的开始时间小于等于当前时间,结束时间大于当前时间的任务
zhangqian
2023-09-21
5b84285b7b1feec082deaeb12d8a2240a0c4b64b
[aps/apsClient.git]
/
pkg
/
nsqclient
/
cmd
/
make.sh
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
if [ ! -d "clib" ]; then
mkdir clib
fi
go tool cgo -exportheader clib/libnsqclient.h main.go &&
go build -buildmode=c-shared -o ./clib/libnsqclient.so &&
rm -fr _obj &&
go build -o gonsqcli &&
g++ -std=c++11 -g -O0 -o cnsqcli TST/ctest/ctest.cpp -I. -Lclib/ -lnsqclient -ldl -pthread