Debian Codegraph @

src/c-blosc2/bench/b2nd/CMakeLists.txt

raw
1 # Blosc - Blocked Shuffling and Compression Library
2 #
3 # Copyright (c) 2021 Blosc Development Team <[email protected]>
4 # https://blosc.org
5 # License: BSD 3-Clause (see LICENSE.txt)
6 #
7 # See LICENSE.txt for details about copyright and rights to use.
8
9 file(GLOB SOURCES bench_*.c)
10
11 foreach (source ${SOURCES})
12 get_filename_component(target_name ${source} NAME_WE)
13 set(target b2nd_${target_name})
14 add_executable(${target} ${target_name}.c)
15 target_link_libraries(${target} PUBLIC blosc_testing ${LIBS})
16 endforeach (source)