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