You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 line
384 B

  1. include_directories(../../include)
  2. if (${ARCH} STREQUAL "x86_64")
  3. set(
  4. MD5_ARCH_SOURCES
  5. md5-x86_64.${ASM_EXT}
  6. )
  7. endif()
  8. if (${ARCH} STREQUAL "x86")
  9. set(
  10. MD5_ARCH_SOURCES
  11. md5-586.${ASM_EXT}
  12. )
  13. endif()
  14. add_library(
  15. md5
  16. OBJECT
  17. md5.c
  18. ${MD5_ARCH_SOURCES}
  19. )
  20. perlasm(md5-x86_64.${ASM_EXT} asm/md5-x86_64.pl)
  21. perlasm(md5-586.${ASM_EXT} asm/md5-586.pl)