Common: Ported over Dolphin's code for x86 CPU capability detection.
This commit is contained in:
parent
3f69c2039d
commit
4d51792285
5 changed files with 286 additions and 19 deletions
|
@ -56,6 +56,14 @@ set(HEADERS
|
|||
vector_math.h
|
||||
)
|
||||
|
||||
if(_M_X86)
|
||||
set(SRCS ${SRCS}
|
||||
cpu_detect_x86.cpp)
|
||||
else()
|
||||
set(SRCS ${SRCS}
|
||||
cpu_detect_generic.cpp)
|
||||
endif()
|
||||
|
||||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
|
||||
add_library(common STATIC ${SRCS} ${HEADERS})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue