blob: ba1157358a7cc4986bbaf63dc0afb19483183658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
set(arch_srcs
probe.cc)
if(HAVE_ARM)
list(APPEND arch_srcs arm.c)
elseif(HAVE_INTEL)
list(APPEND arch_srcs intel.c)
elseif(HAVE_PPC64LE OR HAVE_PPC64 OR HAVE_PPC)
list(APPEND arch_srcs ppc.c)
endif()
add_library(arch STATIC ${arch_srcs})
|