PageRenderTime 13ms CodeModel.GetById 12ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/3rd_party/llvm/lib/Target/X86/Disassembler/CMakeLists.txt

https://code.google.com/p/softart/
CMake | 16 lines | 12 code | 3 blank | 1 comment | 1 complexity | 796ece824bcf8b7e6d37d520da40bc12 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, JSON, MPL-2.0-no-copyleft-exception, GPL-2.0, GPL-3.0, LGPL-3.0, BSD-2-Clause
 1include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
 2
 3add_llvm_library(LLVMX86Disassembler
 4  X86Disassembler.cpp
 5  X86DisassemblerDecoder.c
 6  )
 7
 8# workaround for hanging compilation on MSVC9 and 10
 9if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 )
10set_property(
11  SOURCE X86Disassembler.cpp
12  PROPERTY COMPILE_FLAGS "/Od"
13  )
14endif()
15
16add_dependencies(LLVMX86Disassembler X86CommonTableGen)