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.
diff --git a/programs/psa/CMakeLists.txt b/programs/psa/CMakeLists.txt
index b3eedb6..37038c0 100644
--- a/programs/psa/CMakeLists.txt
+++ b/programs/psa/CMakeLists.txt
@@ -4,9 +4,13 @@
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)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 21cdfab..271ae2f 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -134,4 +134,5 @@
link_to_source(data_files)
link_to_source(scripts)
link_to_source(ssl-opt.sh)
+ link_to_source(suites)
endif()