[CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTab...
[oota-llvm.git] / lib / Target / X86 / Disassembler / CMakeLists.txt
1 add_llvm_library(LLVMX86Disassembler
2   X86Disassembler.cpp
3   X86DisassemblerDecoder.c
4   )
5
6 # workaround for hanging compilation on MSVC9 and 10
7 if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
8 set_property(
9   SOURCE X86Disassembler.cpp
10   PROPERTY COMPILE_FLAGS "/Od"
11   )
12 endif()