Manuel Pégourié-Gonnard | 6fdc9e8 | 2022-01-31 13:27:39 +0100 | [diff] [blame] | 1 | set(executables |
Manuel Pégourié-Gonnard | 29088a4 | 2022-02-01 09:38:26 +0100 | [diff] [blame] | 2 | cipher_aead_demo |
Manuel Pégourié-Gonnard | 6fdc9e8 | 2022-01-31 13:27:39 +0100 | [diff] [blame] | 3 | ) |
| 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 | target_include_directories(${exe} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../tests/include) |
| 9 | endforeach() |
| 10 | |
| 11 | install(TARGETS ${executables} |
| 12 | DESTINATION "bin" |
| 13 | PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) |