95c29f3cd1
Initial fork from f2d678e6e89b6508147086610e985d4e8416e867 (1.0.2 beta). (This change contains substantial changes from the original and effectively starts a new history.)
30 lines
372 B
CMake
30 lines
372 B
CMake
include_directories(. .. ../../include)
|
|
|
|
if (${ARCH} STREQUAL "x86_64")
|
|
set(
|
|
RC4_ARCH_SOURCES
|
|
|
|
rc4-x86_64.${ASM_EXT}
|
|
)
|
|
endif()
|
|
|
|
if (${ARCH} STREQUAL "x86")
|
|
set(
|
|
RC4_ARCH_SOURCES
|
|
|
|
rc4-586.${ASM_EXT}
|
|
)
|
|
endif()
|
|
|
|
add_library(
|
|
rc4
|
|
|
|
OBJECT
|
|
|
|
rc4.c
|
|
${RC4_ARCH_SOURCES}
|
|
)
|
|
|
|
perlasm(rc4-x86_64.${ASM_EXT} asm/rc4-x86_64.pl)
|
|
perlasm(rc4-586.${ASM_EXT} asm/rc4-586.pl)
|