mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
- Removed default install path setting from CMakeLists.txt. - Updated test CMakeLists to include Google Test and configure test paths. - Refactored load_test and unittest files to use defined paths for dictionaries and test data. - Added test paths header for better path management in tests. - Ensured all tests are properly linked and configured for execution.
7 lines
170 B
C
7 lines
170 B
C
#ifndef TEST_PATHS_H
|
|
#define TEST_PATHS_H
|
|
|
|
#define TEST_DATA_DIR "@CMAKE_CURRENT_SOURCE_DIR@/testdata"
|
|
#define DICT_DIR "@CMAKE_SOURCE_DIR@/dict"
|
|
|
|
#endif // TEST_PATHS_H
|