diff options
author | Jacques Lucke <jacques@blender.org> | 2020-09-09 14:40:14 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-09-09 14:44:45 +0300 |
commit | 45bd8fdc2b086e994fa3e907a64e587013112603 (patch) | |
tree | fda314b3884f15c208a8fd82507ea07972258d0b /source/blender/blenlib/CMakeLists.txt | |
parent | 4ccd5bf5c6581c3dd93e684cacfb87c103339572 (diff) |
BLI: new string search api that supports fuzzy and prefix matching
This adds a generic string search library in `BLI_string_search.h`.
The library has a simple to use C api that allows it's users to
filter and sort a set of possible search results based on some
query string.
Reviewers: Severin
Differential Revision: https://developer.blender.org/D8825
Diffstat (limited to 'source/blender/blenlib/CMakeLists.txt')
-rw-r--r-- | source/blender/blenlib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/CMakeLists.txt b/source/blender/blenlib/CMakeLists.txt index a0569ad3dd4..e01459ac80e 100644 --- a/source/blender/blenlib/CMakeLists.txt +++ b/source/blender/blenlib/CMakeLists.txt @@ -124,6 +124,7 @@ set(SRC intern/storage.c intern/string.c intern/string_cursor_utf8.c + intern/string_search.cc intern/string_utf8.c intern/string_utils.c intern/system.c @@ -267,6 +268,7 @@ set(SRC BLI_strict_flags.h BLI_string.h BLI_string_cursor_utf8.h + BLI_string_search.h BLI_string_ref.hh BLI_string_utf8.h BLI_string_utils.h @@ -411,6 +413,7 @@ if(WITH_GTESTS) tests/BLI_span_test.cc tests/BLI_stack_cxx_test.cc tests/BLI_stack_test.cc + tests/BLI_string_search_test.cc tests/BLI_string_ref_test.cc tests/BLI_string_test.cc tests/BLI_string_utf8_test.cc |