[Lldb-commits] [lldb] r309392 - [CMake] Adapt to clang r309390
Chris Bieneman via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 28 08:39:49 PDT 2017
Author: cbieneman
Date: Fri Jul 28 08:39:49 2017
New Revision: 309392
URL: http://llvm.org/viewvc/llvm-project?rev=309392&view=rev
Log:
[CMake] Adapt to clang r309390
This removes the configuration order dependence between LLDB and Clang.
Modified:
lldb/trunk/cmake/modules/AddLLDB.cmake
Modified: lldb/trunk/cmake/modules/AddLLDB.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/AddLLDB.cmake?rev=309392&r1=309391&r2=309392&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/AddLLDB.cmake (original)
+++ lldb/trunk/cmake/modules/AddLLDB.cmake Fri Jul 28 08:39:49 2017
@@ -76,10 +76,7 @@ function(add_lldb_library name)
# Hack: only some LLDB libraries depend on the clang autogenerated headers,
# but it is simple enough to make all of LLDB depend on some of those
# headers without negatively impacting much of anything.
- get_property(CLANG_TABLEGEN_TARGETS GLOBAL PROPERTY CLANG_TABLEGEN_TARGETS)
- if(CLANG_TABLEGEN_TARGETS)
- add_dependencies(${name} ${CLANG_TABLEGEN_TARGETS})
- endif()
+ add_dependencies(${name} clang-tablegen-targets)
set_target_properties(${name} PROPERTIES FOLDER "lldb libraries")
endfunction(add_lldb_library)
More information about the lldb-commits
mailing list