wormhole/test/CMakeLists.txt
nekobit f00029c5d1 Random token generation
FossilOrigin-Name: f1690870b29cf0135e60affc2547d6c5538a13efe4f0ea3e1c9687e677ad577f
2022-10-22 22:18:07 +00:00

12 lines
499 B
CMake

# TODO Alias
add_executable(request_test request_test.cpp)
target_link_libraries(request_test wormhole_lib)
add_test(NAME request_test COMMAND $<TARGET_FILE:request_test>)
add_executable(rsa_test rsa_gen_test.cpp)
target_link_libraries(rsa_test wormhole_lib ${OPENSSL_CRYPTO_LIBRARIES})
add_test(NAME rsa_test COMMAND $<TARGET_FILE:rsa_test>)
add_executable(random_test random_test.cpp)
target_link_libraries(random_test wormhole_lib)
add_test(NAME random_test COMMAND $<TARGET_FILE:random_test>)