5 if(USE_PKCS11_HELPER_LIBRARY)
6 set(libs ${libs} pkcs11-helper)
7 endif(USE_PKCS11_HELPER_LIBRARY)
9 if(ENABLE_ZLIB_SUPPORT)
10 set(libs ${libs} ${ZLIB_LIBRARIES})
11 endif(ENABLE_ZLIB_SUPPORT)
13 add_executable(selftest selftest.c)
14 target_link_libraries(selftest ${libs})
16 add_executable(benchmark benchmark.c)
17 target_link_libraries(benchmark ${libs})
20 add_executable(cpp_dummy_build cpp_dummy_build.cpp)
21 target_link_libraries(cpp_dummy_build ${libs})
24 add_executable(udp_proxy udp_proxy.c)
25 target_link_libraries(udp_proxy ${libs})
27 add_executable(zeroize zeroize.c)
28 target_link_libraries(zeroize ${libs})
30 add_executable(query_compile_time_config query_compile_time_config.c)
31 target_sources(query_compile_time_config PUBLIC ../ssl/query_config.c)
32 target_link_libraries(query_compile_time_config ${libs})
34 install(TARGETS selftest benchmark udp_proxy query_compile_time_config
36 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)