CMakeLists.txt 1013 B

1234567891011121314151617181920212223242526
  1. # ====================================================================
  2. # programs;
  3. # --------------------------------------------------------------------
  4. add_executable(hpavkey hpavkey.c)
  5. add_executable(hpavkeys hpavkeys.c)
  6. add_executable(rkey rkey.c)
  7. add_executable(mac2pw mac2pw.c)
  8. add_executable(mac2pwd mac2pwd.c)
  9. # ====================================================================
  10. # dependencies;
  11. # --------------------------------------------------------------------
  12. target_link_libraries(hpavkey key tools)
  13. target_link_libraries(hpavkeys key tools)
  14. target_link_libraries(mac2pw key tools)
  15. target_link_libraries(mac2pwd key tools)
  16. target_link_libraries(rkey key tools)
  17. # ====================================================================
  18. # libraries;
  19. # --------------------------------------------------------------------
  20. add_library(key HPAVKeySHA.c SHA256Reset.c SHA256Block.c SHA256Write.c SHA256Fetch.c HPAVKeyNMK.c HPAVKeyOut.c HPAVKeyNID.c HPAVKeyDAK.c HPAVKeySpec.c MACPasswords.c keys.c)