1include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. 2 ${CMAKE_CURRENT_SOURCE_DIR}/.. ) 3 4add_llvm_library(LLVMMBlazeDisassembler 5 MBlazeDisassembler.cpp 6 ) 7 8# workaround for hanging compilation on MSVC9 and 10 9if( MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 ) 10set_property( 11 SOURCE MBlazeDisassembler.cpp 12 PROPERTY COMPILE_FLAGS "/Od" 13 ) 14endif() 15 16add_dependencies(LLVMMBlazeDisassembler MBlazeCommonTableGen) 17