*something*.
- We really need to fix how LLVM's build systems manage
linking. Pretty-please-someone-else-do-this? :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90350
91177308-0d34-0410-b5e6-
96231b3b80d8
set(LLVM_NO_RTTI 1)
set(LLVM_USED_LIBS
- clangFrontend clangIndex clangSema clangAnalysis clangAST clangParse clangLex clangBasic)
+ clangIndex
+ clangFrontend
+ clangDriver
+ clangSema
+ clangAnalysis
+ clangAST
+ clangParse
+ clangLex
+ clangBasic)
set( LLVM_LINK_COMPONENTS
- MC
- support
+ bitreader
+ mc
+ core
)
add_clang_library(CIndex CIndex.cpp)
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
-LINK_COMPONENTS := MC support
-USEDLIBS = clangFrontend.a clangDriver.a clangIndex.a clangSema.a clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a
+LINK_COMPONENTS := bitreader mc core
+USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
+ clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a
include $(LEVEL)/Makefile.common
set( LLVM_LINK_COMPONENTS
bitreader
mc
+ core
)
add_clang_executable(c-index-test
include $(LEVEL)/Makefile.config
-LINK_COMPONENTS := bitreader mc
+LINK_COMPONENTS := bitreader mc core
USEDLIBS = CIndex.a clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a
set( LLVM_USED_LIBS
clangIndex
clangFrontend
+ clangDriver
clangSema
clangAnalysis
clangAST
set( LLVM_LINK_COMPONENTS
bitreader
mc
+ core
)
add_clang_executable(index-test
include $(LEVEL)/Makefile.config
-LINK_COMPONENTS := bitreader mc
-USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a clangAnalysis.a \
- clangAST.a clangParse.a clangLex.a clangBasic.a
+LINK_COMPONENTS := bitreader mc core
+USEDLIBS = clangIndex.a clangFrontend.a clangDriver.a clangSema.a \
+ clangAnalysis.a clangAST.a clangParse.a clangLex.a clangBasic.a
include $(LLVM_SRC_ROOT)/Makefile.rules