blob: c2727f48a68aa83e9263bb254122007c53240f95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
add_library(llvm12-lib-Target)
target_include_directories(llvm12-lib-Target PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target
)
target_link_libraries(llvm12-lib-Target PUBLIC
contrib-libs-cxxsupp
contrib-libs-llvm12
libs-llvm12-include
llvm12-lib-Analysis
llvm12-lib-IR
llvm12-lib-MC
llvm12-lib-Support
)
target_sources(llvm12-lib-Target PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/Target.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/TargetIntrinsicInfo.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/TargetLoweringObjectFile.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/TargetMachine.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/Target/TargetMachineC.cpp
)
|