summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/CMakeLists.txt')
-rw-r--r--llvm/tools/llvm-exegesis/lib/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/CMakeLists.txt b/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
index 10cf16af95e..96c6c91ece8 100644
--- a/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
+++ b/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
@@ -1,3 +1,7 @@
+if (LLVM_TARGETS_TO_BUILD MATCHES "X86")
+ add_subdirectory(X86)
+endif()
+
add_library(LLVMExegesis
STATIC
Analysis.cpp
@@ -10,6 +14,7 @@ add_library(LLVMExegesis
MCInstrDescView.cpp
PerfHelper.cpp
RegisterAliasing.cpp
+ Target.cpp
Uops.cpp
X86.cpp
)
OpenPOWER on IntegriCloud