2018-07-10 07:10:21 +00:00
|
|
|
add_executable(crypto_examples crypto_examples.c)
|
|
|
|
target_link_libraries(crypto_examples mbedtls)
|
|
|
|
|
2019-01-02 16:28:46 +00:00
|
|
|
add_executable(key_ladder_demo key_ladder_demo.c)
|
|
|
|
target_link_libraries(key_ladder_demo mbedtls)
|
|
|
|
|
2019-02-06 13:41:54 +00:00
|
|
|
execute_process(COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/generate_psa_constants.py)
|
|
|
|
|
2019-01-02 16:29:04 +00:00
|
|
|
add_executable(psa_constant_names psa_constant_names.c)
|
|
|
|
target_link_libraries(psa_constant_names mbedtls)
|
|
|
|
|
2019-01-02 16:28:46 +00:00
|
|
|
install(TARGETS
|
|
|
|
crypto_examples
|
|
|
|
key_ladder_demo
|
2019-01-02 16:29:04 +00:00
|
|
|
psa_constant_names
|
2018-07-10 07:10:21 +00:00
|
|
|
DESTINATION "bin"
|
|
|
|
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
|
|
|
|
|
2019-01-02 16:28:46 +00:00
|
|
|
install(PROGRAMS
|
|
|
|
key_ladder_demo.sh
|
|
|
|
DESTINATION "bin")
|