Hello,
I found that some additional dependencies are required when building
with cmake and shared libraries ("cmake -DBUILD_SHARED_LIBS=ON");
this patch adds those dependencies.Thanks, -- Peter
Index: tools/index-test/CMakeLists.txt =================================================================== --- tools/index-test/CMakeLists.txt (revision 83272) +++ tools/index-test/CMakeLists.txt (working copy) @@ -7,11 +7,20 @@ clangAST clangLex clangBasic + clangRewrite + clangParse + clangAnalysis + clangCodeGen ) set( LLVM_LINK_COMPONENTS bitreader mc + ipo + scalaropts + codegen + bitwriter + selectiondag ) add_clang_executable(index-test Index: tools/c-index-test/CMakeLists.txt =================================================================== --- tools/c-index-test/CMakeLists.txt (revision 83272) +++ tools/c-index-test/CMakeLists.txt (working copy) @@ -8,11 +8,20 @@ clangAST clangLex clangBasic + clangRewrite + clangParse + clangAnalysis + clangCodeGen ) set( LLVM_LINK_COMPONENTS bitreader mc + ipo + scalaropts + codegen + bitwriter + selectiondag ) add_clang_executable(c-index-test Index: tools/clang-cc/CMakeLists.txt =================================================================== --- tools/clang-cc/CMakeLists.txt (revision 83272) +++ tools/clang-cc/CMakeLists.txt (working copy) @@ -10,6 +10,7 @@ clangParse clangLex clangBasic + clangIndex ) set( LLVM_LINK_COMPONENTS Index: tools/driver/CMakeLists.txt =================================================================== --- tools/driver/CMakeLists.txt (revision 83272) +++ tools/driver/CMakeLists.txt (working copy) @@ -5,7 +5,7 @@ clangBasic ) -set(LLVM_LINK_COMPONENTS system support bitreader bitwriter) +set(LLVM_LINK_COMPONENTS system support bitreader bitwriter mc) add_clang_executable(clang driver.cpp
signature.asc
Description: Digital signature
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
