include_directories(
${CMAKE_SOURCE_DIR}/lib/Target/X86
${CMAKE_BINARY_DIR}/lib/Target/X86
)
set(LLVM_LINK_COMPONENTS
Analysis
CodeGen
Core
MC
MIRParser
Support
Target
X86CodeGen
X86Desc
X86Info
add_llvm_unittest(X86Tests
MachineSizeOptsTest.cpp