[CMake] [WinMsvc] Look for includes and libs in ${MSVC_BASE}/atlmfc
[llvm-core.git] / tools / llvm-mca / CMakeLists.txt
blob4b18075f9869f10fcd7e1ef889d540fda3084b27
1 include_directories(include)
3 set(LLVM_LINK_COMPONENTS
4   AllTargetsAsmPrinters
5   AllTargetsAsmParsers
6   AllTargetsDescs
7   AllTargetsDisassemblers
8   AllTargetsInfos
9   MCA
10   MC
11   MCParser
12   Support
13   )
15 add_llvm_tool(llvm-mca
16   llvm-mca.cpp
17   CodeRegion.cpp
18   CodeRegionGenerator.cpp
19   PipelinePrinter.cpp
20   Views/BottleneckAnalysis.cpp
21   Views/DispatchStatistics.cpp
22   Views/InstructionInfoView.cpp
23   Views/RegisterFileStatistics.cpp
24   Views/ResourcePressureView.cpp
25   Views/RetireControlUnitStatistics.cpp
26   Views/SchedulerStatistics.cpp
27   Views/SummaryView.cpp
28   Views/TimelineView.cpp
29   Views/View.cpp
30   )
32 set(LLVM_MCA_SOURCE_DIR ${CURRENT_SOURCE_DIR})