aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/MC/Hexagon/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/MC/Hexagon/CMakeLists.txt')
-rw-r--r--unittests/MC/Hexagon/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/unittests/MC/Hexagon/CMakeLists.txt b/unittests/MC/Hexagon/CMakeLists.txt
new file mode 100644
index 0000000..6d4ee93
--- /dev/null
+++ b/unittests/MC/Hexagon/CMakeLists.txt
@@ -0,0 +1,14 @@
+set(LLVM_LINK_COMPONENTS
+ HexagonCodeGen
+ HexagonDesc
+ HexagonInfo
+ MC
+ Support
+ )
+
+include_directories (${LLVM_MAIN_SRC_DIR}/lib/Target/Hexagon)
+include_directories (${LLVM_BINARY_DIR}/lib/Target/Hexagon)
+
+add_llvm_unittest(HexagonTests
+ HexagonMCCodeEmitterTest.cpp
+ )