[Lldb-commits] [lldb] r309429 - [CMake] Add SharingPtr.h to the Framework header list

Chris Bieneman via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 28 13:27:38 PDT 2017


Author: cbieneman
Date: Fri Jul 28 13:27:38 2017
New Revision: 309429

URL: http://llvm.org/viewvc/llvm-project?rev=309429&view=rev
Log:
[CMake] Add SharingPtr.h to the Framework header list

lldb-forward.h which is a public header uses SharingPtr, so we need to include that header as well.

Modified:
    lldb/trunk/source/API/CMakeLists.txt

Modified: lldb/trunk/source/API/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/CMakeLists.txt?rev=309429&r1=309428&r2=309429&view=diff
==============================================================================
--- lldb/trunk/source/API/CMakeLists.txt (original)
+++ lldb/trunk/source/API/CMakeLists.txt Fri Jul 28 13:27:38 2017
@@ -162,7 +162,7 @@ if(LLDB_BUILD_FRAMEWORK)
   file(GLOB root_private_headers ${LLDB_SOURCE_DIR}/include/lldb/lldb-private*.h)
   list(REMOVE_ITEM root_public_headers ${root_private_headers})
 
-  foreach(header ${public_headers} ${root_public_headers})
+  foreach(header ${public_headers} ${root_public_headers} ${LLDB_SOURCE_DIR}/include/lldb/Utility/SharingPtr.h)
     get_filename_component(basename ${header} NAME)
     add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/FrameworkHeaders/${basename}
                        DEPENDS ${header}




More information about the lldb-commits mailing list