1*62c56f98SSadaf Ebrahimiset(executables 2*62c56f98SSadaf Ebrahimi cipher_aead_demo 3*62c56f98SSadaf Ebrahimi) 4*62c56f98SSadaf Ebrahimi 5*62c56f98SSadaf Ebrahimiforeach(exe IN LISTS executables) 6*62c56f98SSadaf Ebrahimi add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>) 7*62c56f98SSadaf Ebrahimi target_link_libraries(${exe} ${mbedcrypto_target}) 8*62c56f98SSadaf Ebrahimi target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include) 9*62c56f98SSadaf Ebrahimiendforeach() 10*62c56f98SSadaf Ebrahimi 11*62c56f98SSadaf Ebrahimiinstall(TARGETS ${executables} 12*62c56f98SSadaf Ebrahimi DESTINATION "bin" 13*62c56f98SSadaf Ebrahimi PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) 14