1a8e1175bSopenharmony_ciset(executables 2a8e1175bSopenharmony_ci gen_entropy 3a8e1175bSopenharmony_ci gen_random_ctr_drbg 4a8e1175bSopenharmony_ci) 5a8e1175bSopenharmony_ci 6a8e1175bSopenharmony_ciforeach(exe IN LISTS executables) 7a8e1175bSopenharmony_ci add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>) 8a8e1175bSopenharmony_ci target_link_libraries(${exe} ${mbedcrypto_target} ${CMAKE_THREAD_LIBS_INIT}) 9a8e1175bSopenharmony_ci target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include) 10a8e1175bSopenharmony_ciendforeach() 11a8e1175bSopenharmony_ci 12a8e1175bSopenharmony_ciinstall(TARGETS ${executables} 13a8e1175bSopenharmony_ci DESTINATION "bin" 14a8e1175bSopenharmony_ci PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) 15