# Tries to locate the correct CS_FAST_ASSEMBLY files for this platform and# sets CS_CSCONTEXT_FOUND to true if the platform is supported.## To add a platform add a clause locating the correct assembly implementations for the system.SET(CS_CSCONTEXT_FOUND TRUE)if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND CMAKE_SYSTEM_NAME STREQUAL "Linux")# Typical Linux running on x86_64SET(CS_CSCONTEXT_ASSEMBLY asm/cscontext/enter_context_x86_64_sysv_elf.s asm/cscontext/switch_context_x86_64_sysv_elf.s)
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7l" AND CMAKE_SYSTEM_NAME STREQUAL "Linux")# Typical Linux running on ARMv7SET(CS_CSCONTEXT_ASSEMBLY asm/cscontext/enter_context_arm32_sysv_elf.s asm/cscontext/switch_context_arm32_sysv_elf.s)