xiaobai created this revision. xiaobai added reviewers: labath, zturner, sgraenitz. Herald added a subscriber: mgorny.
The clang headers are useful when dealing with clang modules. There is also a way to get to the clang headers from the SB API so it would be nice if they were also available when we just build lldb. https://reviews.llvm.org/D58793 Files: source/API/CMakeLists.txt Index: source/API/CMakeLists.txt =================================================================== --- source/API/CMakeLists.txt +++ source/API/CMakeLists.txt @@ -151,6 +151,10 @@ ) endif() +if (NOT LLDB_BUILT_STANDALONE) + add_dependencies(liblldb clang-headers) +endif() + if(LLDB_BUILD_FRAMEWORK) include(LLDBFramework) endif()
Index: source/API/CMakeLists.txt =================================================================== --- source/API/CMakeLists.txt +++ source/API/CMakeLists.txt @@ -151,6 +151,10 @@ ) endif() +if (NOT LLDB_BUILT_STANDALONE) + add_dependencies(liblldb clang-headers) +endif() + if(LLDB_BUILD_FRAMEWORK) include(LLDBFramework) endif()
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits