aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm12/lib/ProfileData/CMakeLists.txt
blob: 84a960e4e6f0b00c7b635eb351f2aaae95606cd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
add_library(llvm12-lib-ProfileData)
target_include_directories(llvm12-lib-ProfileData PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData
)
target_link_libraries(llvm12-lib-ProfileData PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-llvm12
  libs-llvm12-include
  llvm12-lib-Demangle
  llvm12-lib-IR
  llvm12-lib-Support
)
target_sources(llvm12-lib-ProfileData PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/GCOV.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/InstrProf.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/InstrProfReader.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/InstrProfWriter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/ProfileSummaryBuilder.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/SampleProf.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/SampleProfReader.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ProfileData/SampleProfWriter.cpp
)