aboutsummaryrefslogtreecommitdiff
path: root/lib/Index
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-09-13 23:54:41 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-09-13 23:54:41 +0000
commit560a921b85773ac7c2d1a7a4aec4682c822c5cb4 (patch)
tree7abf7ddaf8454be8763bb0bc20a7c08551365758 /lib/Index
parent206caf539d9e7e426dbfc3936e49a72601500375 (diff)
Revert "CMake: Update to use standard CMake dependency tracking facilities instead"
This reverts commit r113631 Conflicts: CMakeLists.txt lib/CodeGen/CMakeLists.txt git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index')
-rw-r--r--lib/Index/CMakeLists.txt36
1 files changed, 17 insertions, 19 deletions
diff --git a/lib/Index/CMakeLists.txt b/lib/Index/CMakeLists.txt
index 7ad106e5d2..bbe9b567ac 100644
--- a/lib/Index/CMakeLists.txt
+++ b/lib/Index/CMakeLists.txt
@@ -1,20 +1,8 @@
set(LLVM_NO_RTTI 1)
-add_clang_library(clangIndex
- ASTLocation.cpp
- Analyzer.cpp
- CallGraph.cpp
- DeclReferenceMap.cpp
- Entity.cpp
- GlobalSelector.cpp
- Handlers.cpp
- IndexProvider.cpp
- Indexer.cpp
- Program.cpp
- SelectorMap.cpp
- )
+set(LLVM_USED_LIBS clangBasic clangLex clangAST)
-target_link_libraries(clangIndex
+set( LLVM_USED_LIBS
clangSerialization
clangFrontend
clangParse
@@ -28,9 +16,19 @@ target_link_libraries(clangIndex
clangBasic
)
-add_dependencies(clangIndex
- ClangAttrClasses
- ClangAttrList
- ClangDeclNodes
- ClangStmtNodes
+add_clang_library(clangIndex
+ ASTLocation.cpp
+ Analyzer.cpp
+ CallGraph.cpp
+ DeclReferenceMap.cpp
+ Entity.cpp
+ GlobalSelector.cpp
+ Handlers.cpp
+ IndexProvider.cpp
+ Indexer.cpp
+ Program.cpp
+ SelectorMap.cpp
)
+
+add_dependencies(clangIndex ClangAttrClasses ClangAttrList
+ ClangDeclNodes ClangStmtNodes)