blob: b238628547a5126c4cfccb7b64c3dc96b4f6b161 (
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_POWER8)
list(APPEND arch_srcs ppc.c)
endif()
add_library(arch STATIC ${arch_srcs})
|