Fix Darwin build of lldb-server.
Summary: We were missing the symbol for the version number. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13271 llvm-svn: 249434
This commit is contained in:
		
							parent
							
								
									4edfef454d
								
							
						
					
					
						commit
						d16d6c0046
					
				| 
						 | 
				
			
			@ -103,13 +103,6 @@ endif ()
 | 
			
		|||
 | 
			
		||||
# Darwin-only libraries
 | 
			
		||||
if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
 | 
			
		||||
  set(LLDB_VERS_GENERATED_FILE ${LLDB_BINARY_DIR}/source/LLDB_vers.c)
 | 
			
		||||
  add_custom_command(OUTPUT ${LLDB_VERS_GENERATED_FILE}
 | 
			
		||||
    COMMAND ${LLDB_SOURCE_DIR}/scripts/generate-vers.pl
 | 
			
		||||
            ${LLDB_SOURCE_DIR}/lldb.xcodeproj/project.pbxproj liblldb_core
 | 
			
		||||
            > ${LLDB_VERS_GENERATED_FILE})
 | 
			
		||||
 | 
			
		||||
  set_source_files_properties(${LLDB_VERS_GENERATED_FILE} PROPERTIES GENERATED 1)
 | 
			
		||||
  list(APPEND LLDB_USED_LIBS
 | 
			
		||||
    lldbPluginDynamicLoaderDarwinKernel
 | 
			
		||||
    lldbPluginObjectFileMachO
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,8 +25,19 @@ include_directories(
 | 
			
		|||
  )
 | 
			
		||||
endif ()
 | 
			
		||||
 | 
			
		||||
if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
 | 
			
		||||
  set(LLDB_VERS_GENERATED_FILE ${LLDB_BINARY_DIR}/source/LLDB_vers.c)
 | 
			
		||||
  add_custom_command(OUTPUT ${LLDB_VERS_GENERATED_FILE}
 | 
			
		||||
    COMMAND ${LLDB_SOURCE_DIR}/scripts/generate-vers.pl
 | 
			
		||||
            ${LLDB_SOURCE_DIR}/lldb.xcodeproj/project.pbxproj liblldb_core
 | 
			
		||||
            > ${LLDB_VERS_GENERATED_FILE})
 | 
			
		||||
 | 
			
		||||
  set_source_files_properties(${LLDB_VERS_GENERATED_FILE} PROPERTIES GENERATED 1)
 | 
			
		||||
endif ()
 | 
			
		||||
 | 
			
		||||
add_lldb_library(lldbBase
 | 
			
		||||
  lldb.cpp
 | 
			
		||||
   ${LLDB_VERS_GENERATED_FILE}
 | 
			
		||||
  )
 | 
			
		||||
 | 
			
		||||
add_subdirectory(Breakpoint)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue