Home | History | Annotate | Download | only in Disassembler
      1 include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
      2 
      3 add_llvm_library(LLVMARMDisassembler
      4   ARMDisassembler.cpp
      5   )
      6 # workaround for hanging compilation on MSVC8, 9 and 10
      7 if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
      8 set_property(
      9   SOURCE ARMDisassembler.cpp
     10   PROPERTY COMPILE_FLAGS "/Od"
     11   )
     12 endif()
     13 add_dependencies(LLVMARMDisassembler ARMCommonTableGen)
     14