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.

123456789101112131415161718192021222324
  1. include_directories(../../include)
  2. if (${ARCH} STREQUAL "x86_64")
  3. set(
  4. RAND_ARCH_SOURCES
  5. rdrand-x86_64.${ASM_EXT}
  6. )
  7. endif()
  8. add_library(
  9. rand
  10. OBJECT
  11. deterministic.c
  12. rand.c
  13. urandom.c
  14. windows.c
  15. ${RAND_ARCH_SOURCES}
  16. )
  17. perlasm(rdrand-x86_64.${ASM_EXT} asm/rdrand-x86_64.pl)