CMakeLists.txt 380 B

12345678910111213
  1. set(executables
  2. generic_sum
  3. hello
  4. )
  5. foreach(exe IN LISTS executables)
  6. add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>)
  7. target_link_libraries(${exe} ${mbedcrypto_target})
  8. endforeach()
  9. install(TARGETS ${executables}
  10. DESTINATION "bin"
  11. PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)