4a0f0c4910
find -name CMakeLists.txt -type f | xargs sed -e 's/\t/ /g' -i Change-Id: I01636b1849c00ba918f48828252492d99b0403ac
21 lines
230 B
CMake
21 lines
230 B
CMake
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}
|
|
)
|