CMake: psa_constant_names and test_psa_constant_names

Build and install psa_constant_names.

Make sure that test_psa_constant_names passes in an out-of-tree build.
This commit is contained in:
Gilles Peskine 2019-01-02 17:29:04 +01:00 committed by Darryl Green
parent f31dbb7bf1
commit 6a78573088
2 changed files with 5 additions and 0 deletions

View File

@ -4,9 +4,13 @@ target_link_libraries(crypto_examples mbedtls)
add_executable(key_ladder_demo key_ladder_demo.c)
target_link_libraries(key_ladder_demo mbedtls)
add_executable(psa_constant_names psa_constant_names.c)
target_link_libraries(psa_constant_names mbedtls)
install(TARGETS
crypto_examples
key_ladder_demo
psa_constant_names
DESTINATION "bin"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)

View File

@ -134,4 +134,5 @@ if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
link_to_source(data_files)
link_to_source(scripts)
link_to_source(ssl-opt.sh)
link_to_source(suites)
endif()