1 set(LLVM_NO_RTTI 1) 2 add_lldb_executable(lldb 3 Driver.cpp 4 #DriverEvents.cpp 5 #DriverOptions.cpp 6 #DriverPosix.cpp 7 IOChannel.cpp 8 ) 9 10 target_link_libraries(lldb liblldb) 11 # TODO: why isn't this done by add_lldb_executable? 12 #target_link_libraries(lldb ${LLDB_USED_LIBS}) 13 #llvm_config(lldb ${LLVM_LINK_COMPONENTS}) 14 15 set_target_properties(lldb PROPERTIES VERSION ${LLDB_VERSION}) 16 17 install(TARGETS lldb 18 RUNTIME DESTINATION bin) 19