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