1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
include_directories(. .. ../../include) if (${ARCH} STREQUAL "arm") set( CHACHA_ARCH_SOURCES chacha_vec_arm.S ) endif() add_library( chacha OBJECT chacha_generic.c chacha_vec.c ${CHACHA_ARCH_SOURCES} )