CMakeLists.txt 500 B

123456789101112
  1. add_executable(gen_random_havege gen_random_havege.c)
  2. target_link_libraries(gen_random_havege mbedtls)
  3. add_executable(gen_random_ctr_drbg gen_random_ctr_drbg.c)
  4. target_link_libraries(gen_random_ctr_drbg mbedtls)
  5. add_executable(gen_entropy gen_entropy.c)
  6. target_link_libraries(gen_entropy mbedtls)
  7. install(TARGETS gen_random_havege gen_random_ctr_drbg gen_entropy
  8. DESTINATION "bin"
  9. PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)