#  Copyright (C) GridGain Systems. All Rights Reserved.
#  _________        _____ __________________        _____
#  __  ____/___________(_)______  /__  ____/______ ____(_)_______
#  _  / __  __  ___/__  / _  __  / _  / __  _  __ `/__  / __  __ \
#  / /_/ /  _  /    _  /  / /_/ /  / /_/ /  / /_/ / _  /  _  / / /
#  \____/   /_/     /_/   \_,__/   \____/   \__,_/  /_/   /_/ /_/

# Bench binaries that exercise non-public-client surfaces — anything that is not
# released as part of the supported client API (extension namespace, or the
# header-only typed views that haven't been promoted). Shared helpers live in
# the sibling bench-common/ subdir.
function(add_extension_bench TARGET SOURCE)
    add_executable(${TARGET} ${SOURCE})
    target_link_libraries(${TARGET} PRIVATE
        gridgain-bench-common
    )
endfunction()

add_extension_bench(gridgain-extension-benchmark extension_index_bench.cpp)
add_extension_bench(gridgain-typed-view-benchmark    typed_view_bench.cpp)
add_extension_bench(gridgain-tuple-path-benchmark    tuple_path_bench.cpp)
