Yanyi Wu
294755fab1
build: refine CMakeLists.txt by removing unnecessary conditions and options
...
- Eliminated the default installation prefix condition to streamline the configuration.
- Simplified the test build logic by ensuring tests are enabled only for top-level projects.
- Cleaned up redundant code for better readability and maintainability.
2025-05-03 07:43:25 +08:00
Yanyi Wu
aa410a69bb
build: simplify test configuration in CMakeLists.txt
...
- Removed conditional check for MSVC when adding test commands.
- Ensured that test commands are always added regardless of the compiler.
2025-05-02 21:39:18 +08:00
Yanyi Wu
b5dc8e7a35
build: update .gitignore and CMakeLists for test configuration
...
- Added entries to .gitignore for temporary test files.
- Included a message to display MSVC value during build.
- Added UTF-8 compile option for MSVC in unittest CMakeLists.
2025-05-02 21:28:28 +08:00
yanyiwu
1d74caf705
Update CMake minimum version requirement to 3.10
2025-01-18 20:47:06 +08:00
yanyiwu
6e167a30dd
cmake: avoid testing when FetchContent by other project
2024-09-22 00:25:23 +08:00
yanyiwu
5ef74f335a
Revert "cmake: enable windows/msvc test"
...
This reverts commit 63392627552b018ea018848c82965c263b0030fa.
2024-09-21 23:58:59 +08:00
yanyiwu
6339262755
cmake: enable windows/msvc test
2024-09-21 21:49:56 +08:00
yanyiwu
dbebc7cacb
cmake: enable windows/msvc test
2024-09-21 21:10:53 +08:00
yanyiwu
e521f26456
removed test/demo.cpp and linked https://github.com/yanyiwu/cppjieba-demo
2024-09-21 17:26:19 +08:00
yanyiwu
79a235223d
[CI] windows-[2019,2022]
2024-07-28 23:16:11 +08:00
yanyiwu
f8d063101c
[CMake] mini_required 2.6->3.5 and fix CXX_VERSION variable passed from cmd
2024-07-27 19:24:57 +08:00
unknown
7cf4502e01
commit from vscode
2024-07-13 20:03:58 +08:00
abc
8c93e0978d
Update CMakeLists.txt to use limonp as a submodule
2022-07-22 10:36:35 +08:00
yanyiwu
34668aa379
remove server, see details in ChangeLog.md
2016-01-21 01:07:31 +08:00
yanyiwu
3c5ad24260
source code layout change:
...
1. src/ -> include/cppjieba/
2. src/limonp/ -> deps/limonp/
3. server/husky -> deps/husky/
4. test/unittest/gtest -> deps/gtest
2016-01-11 14:25:02 +08:00
yanyiwu
1d33dcfdd7
add demo into 'make test' and update readme.md about dict path separator
2015-12-09 00:23:17 +08:00
yanyiwu
fbd9f51b0a
updatedabout make install
2015-09-16 11:19:19 +08:00
yanyiwu
0ffc0f8079
make test
2015-09-11 18:06:58 +08:00
yanyiwu
3528b6296a
修改 cjserver 服务,可以通过http参数使用不同切词算法进行切词。
...
修改 make install 的安装目录,统一安装到同一个目录 /usr/local/cppjieba
2015-06-05 21:59:16 +08:00
wyy
ad02d2d43e
更好的支持 mac osx 系统
2014-10-16 00:08:21 +08:00
wyy
376750a518
mofy cmakelists.txt for mac
2014-04-25 22:57:04 +08:00
wyy
f8487fd9cf
remove src/segment and mv server.cpp into server/server.cpp and modify readme.md
2014-04-25 21:48:29 +08:00
wyy
687ebfc19b
improve viterbi
2014-04-07 22:54:01 -07:00
wyy
9a7ba0d685
update limonp && husky to adapter less version g++
2014-03-27 11:44:41 +08:00
wyy
c08154925f
add -g compile argv in cmake
2014-03-16 23:23:17 +08:00
wyy
7ec17a2cd6
fix bug for install server to linux (using start-stop-daemon)
2014-02-11 14:03:53 +08:00
Richard Lee
8ab4daf669
Tweak main CMakeLists
2014-01-18 05:58:14 +08:00
wyy
14aa9168d3
remove some warning of compiler
2013-12-24 19:33:56 -08:00
wyy
cdd8517cd0
rename scripts -> script
2013-12-24 02:35:23 -08:00
wyy
418b18db55
rename dicts -> dict
2013-12-24 02:32:00 -08:00
wyy
1b801c28a1
add load_test into cmake
2013-12-21 20:14:24 -08:00
wyy
24d5da946d
modify test
2013-12-18 04:13:40 -08:00
wyy
86b78e723d
add unittest
2013-12-14 23:46:17 -08:00
wyy
3545eef281
modify test
2013-12-14 22:18:39 -08:00
wyy
72ba32dd0a
add unittest using gtest
2013-12-14 22:08:03 -08:00
wyy
18de12a21c
add NO_FILTER macro
2013-12-07 17:32:11 +08:00
wyy
d82ac83a8a
modify cmakelists.txt for gbk encoding
2013-12-06 00:21:18 -08:00
wyy
2641b1d0a3
modify segment.cpp
2013-12-04 08:39:47 -08:00
wyy
fd7ff031d0
add gbk
2013-12-04 08:00:27 -08:00
wyy
35ba8f058e
mv unicode <=> utf8 from transcode.hpp into Limonp/str_functs.hpp
2013-12-04 07:13:31 -08:00
wyy
08ff82f91f
testing
2013-11-23 07:40:18 -08:00
wyy
81d9d191f8
add cmakelists.txt
2013-11-23 05:56:03 -08:00
wyy
4e838de2b9
make cmakefile to compatiable with g++-4.6 and 4.7
2013-11-07 04:36:36 -08:00
wyy
b0c2bf6490
update logger.hpp
2013-11-04 04:10:16 -08:00
wyy
dd55d9c8c4
adding Husky
2013-11-03 22:07:26 -08:00
wyy
470bded7de
rename
2013-11-03 20:25:30 -08:00
wyy
ec806b4b71
rm dicts out of install
2013-11-03 19:22:25 -08:00
wyy
1f4eae5bbc
modify cmakelists.txt
2013-11-03 08:47:50 -08:00
wyy
4680586e65
add install into cmakelists.txt
2013-11-03 07:04:36 -08:00
wyy
a44b04df20
add cmakelists.txt
2013-11-03 05:53:27 -08:00