mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
add Limonp/CMakeLists.txt for installing Limonp's header file
This commit is contained in:
parent
c4afe8da8d
commit
7cf2121f5a
@ -22,7 +22,7 @@ make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
### 验证
|
||||
#### 验证
|
||||
|
||||
```sh
|
||||
/usr/bin/cjseg.sh ../test/testlines.utf8
|
||||
@ -44,6 +44,7 @@ sudo make install
|
||||
|
||||
或者用命令 `curl "http://127.0.0.1:11200/?key=南京市长江大桥"` (ubuntu中的curl安装命令`sudo apt-get install curl`)
|
||||
|
||||
|
||||
### 卸载
|
||||
```sh
|
||||
cd build/
|
||||
|
1
src/Limonp/CMakeLists.txt
Normal file
1
src/Limonp/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
||||
INSTALL(FILES ArgvContext.hpp io_functs.hpp macro_def.hpp MysqlClient.hpp str_functs.hpp cast_functs.hpp Config.hpp logger.hpp map_functs.hpp std_outbound.hpp DESTINATION include/CppJieba/Limonp)
|
1
test/make.sh
Executable file
1
test/make.sh
Executable file
@ -0,0 +1 @@
|
||||
g++ -o segment.demo segment.cpp -std=c++0x -L/usr/lib/CppJieba -lcppjieba
|
Loading…
x
Reference in New Issue
Block a user