aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/test/CMakeLists.txt
blob: e7401d74c7191325982724099405ed97e043b963 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_library(searchlib_test
    SOURCES
    attribute_builder.cpp
    document_weight_attribute_helper.cpp
    doc_builder.cpp
    imported_attribute_fixture.cpp
    initrange.cpp
    make_attribute_map_lookup_node.cpp
    mock_attribute_context.cpp
    mock_attribute_manager.cpp
    searchiteratorverifier.cpp
    schema_builder.cpp
    string_field_builder.cpp
    vector_buffer_writer.cpp
    $<TARGET_OBJECTS:searchlib_test_fakedata>
    $<TARGET_OBJECTS:searchlib_searchlib_test_diskindex>
    $<TARGET_OBJECTS:searchlib_test_gtest_migration>
    DEPENDS
    searchlib
    searchlib_searchlib_test_features
    searchlib_searchlib_test_memoryindex
    GTest::GTest
)

vespa_add_library(searchlib_test_gtest_migration OBJECT
    SOURCES
    initrange.cpp
    searchiteratorverifier.cpp
)

target_compile_definitions(searchlib_test_gtest_migration PRIVATE ENABLE_GTEST_MIGRATION)