- Added generic_sum example application to show use of generic message digest layer.
diff --git a/programs/hash/CMakeLists.txt b/programs/hash/CMakeLists.txt
index 0341c8b..367dae1 100644
--- a/programs/hash/CMakeLists.txt
+++ b/programs/hash/CMakeLists.txt
@@ -1,6 +1,9 @@
add_executable(hello hello.c)
target_link_libraries(hello polarssl)
+add_executable(generic_sum generic_sum.c)
+target_link_libraries(generic_sum polarssl)
+
add_executable(md5sum md5sum.c)
target_link_libraries(md5sum polarssl)
@@ -10,6 +13,6 @@
add_executable(sha2sum sha2sum.c)
target_link_libraries(sha2sum polarssl)
-INSTALL(TARGETS hello md5sum sha1sum sha2sum
+INSTALL(TARGETS hello md5sum sha1sum sha2sum generic_sum
DESTINATION "bin"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)