aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/Target/X86/AsmParser/CMakeLists.txt
blob: eb51c5c08add33f5328f2e7d6b812aefcb1bf6f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_library(Target-X86-AsmParser)
target_include_directories(Target-X86-AsmParser PRIVATE
  ${CMAKE_BINARY_DIR}/contrib/libs/llvm12/lib/Target/X86
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/AsmParser
)
target_link_libraries(Target-X86-AsmParser PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  libs-llvm12-include
  llvm12-lib-MC
  lib-MC-MCParser
  llvm12-lib-Support
  Target-X86-MCTargetDesc
  Target-X86-TargetInfo
)
target_sources(Target-X86-AsmParser PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/X86/AsmParser/X86AsmParser.cpp
)