1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-17 20:10:03 +02:00
libantelope/tests/CMakeLists.txt

13 lines
251 B
CMake

function(test name)
add_executable(${name}_test ${name}.cpp)
target_link_libraries(${name}_test PRIVATE ${LIB_NAME})
# define tests
add_test(
NAME ${name}_test
COMMAND $<TARGET_FILE:${name}_test>
)
endfunction()
add_subdirectory( base58 )