CMakeLists.txt 403 B

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