2009-11-25 06:53:08 +00:00
|
|
|
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
|
|
|
|
|
|
|
add_llvm_library(LLVMX86Disassembler
|
|
|
|
X86Disassembler.cpp
|
2009-12-19 02:59:52 +00:00
|
|
|
X86DisassemblerDecoder.c
|
2009-11-25 06:53:08 +00:00
|
|
|
)
|
2010-06-05 12:40:43 +00:00
|
|
|
# workaround for hanging compilation on MSVC9 and 10
|
2010-12-29 03:59:27 +00:00
|
|
|
if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
|
2010-04-20 01:11:32 +00:00
|
|
|
set_property(
|
|
|
|
SOURCE X86Disassembler.cpp
|
|
|
|
PROPERTY COMPILE_FLAGS "/Od"
|
|
|
|
)
|
|
|
|
endif()
|
2009-11-25 06:53:08 +00:00
|
|
|
add_dependencies(LLVMX86Disassembler X86CodeGenTable_gen)
|