summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-09 17:17:01 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-09 17:17:01 +0000
commit1a5d421c26e3dffce9dfc1aeca846167d7bb4068 (patch)
tree199b4ae0c8f96324c1ad1bbb610a23424ba1ec4c /unittests
parentc9b970996b8af41754a99a9cec15a9d401962ba1 (diff)
downloadclang-1a5d421c26e3dffce9dfc1aeca846167d7bb4068.tar.gz
[ms-inline asm] Add various MC components to clang build to support MS-style inline assembly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ASTMatchers/CMakeLists.txt7
-rw-r--r--unittests/Frontend/CMakeLists.txt7
-rw-r--r--unittests/Tooling/CMakeLists.txt7
3 files changed, 21 insertions, 0 deletions
diff --git a/unittests/ASTMatchers/CMakeLists.txt b/unittests/ASTMatchers/CMakeLists.txt
index 8e61732141..b56d756c7a 100644
--- a/unittests/ASTMatchers/CMakeLists.txt
+++ b/unittests/ASTMatchers/CMakeLists.txt
@@ -1,3 +1,10 @@
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ asmparser
+ support
+ mc
+ )
+
add_clang_unittest(ASTMatchersTests
ASTMatchersTest.cpp)
diff --git a/unittests/Frontend/CMakeLists.txt b/unittests/Frontend/CMakeLists.txt
index 729c6487b3..139cf42caf 100644
--- a/unittests/Frontend/CMakeLists.txt
+++ b/unittests/Frontend/CMakeLists.txt
@@ -1,3 +1,10 @@
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ asmparser
+ support
+ mc
+ )
+
add_clang_unittest(FrontendTests
FrontendActionTest.cpp
)
diff --git a/unittests/Tooling/CMakeLists.txt b/unittests/Tooling/CMakeLists.txt
index 3b5aaf858b..4eaf33956f 100644
--- a/unittests/Tooling/CMakeLists.txt
+++ b/unittests/Tooling/CMakeLists.txt
@@ -1,3 +1,10 @@
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ asmparser
+ support
+ mc
+ )
+
add_clang_unittest(ToolingTests
CommentHandlerTest.cpp
CompilationDatabaseTest.cpp