add Limonp/CMakeLists.txt for installing Limonp's header file

This commit is contained in:
wyy 2013-11-27 20:06:09 -08:00
parent c4afe8da8d
commit 7cf2121f5a
3 changed files with 4 additions and 1 deletions

View File

@ -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/

View 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
View File

@ -0,0 +1 @@
g++ -o segment.demo segment.cpp -std=c++0x -L/usr/lib/CppJieba -lcppjieba