25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 421 B

12345678910111213141516171819202122232425262728293031
  1. include_directories(../../include)
  2. if (${ARCH} STREQUAL "arm")
  3. set(
  4. POLY1305_ARCH_SOURCES
  5. poly1305_arm_asm.S
  6. )
  7. endif()
  8. add_library(
  9. poly1305
  10. OBJECT
  11. poly1305.c
  12. poly1305_arm.c
  13. poly1305_vec.c
  14. ${POLY1305_ARCH_SOURCES}
  15. )
  16. add_executable(
  17. poly1305_test
  18. poly1305_test.cc
  19. $<TARGET_OBJECTS:test_support>
  20. )
  21. target_link_libraries(poly1305_test crypto)
  22. add_dependencies(all_tests poly1305_test)