
CHANGES: - Thread locking switched from pthreads to C++11 standard library. - Abstracted platform specific header includes into 'platform.h'. - Create editline emulator for windows. - Emulated various platform dependant functions on windows. TODO: - User input currently handled by gets_s(), work started on better handler: see _WIP_INPUT_METHOD define blocks in 'ELWrapper.cpp'. Aim is to handle 'tab' auto completion on windows. - Tidy up 'getopt.inc' from lldbHostCommon to serve as LLDB Drivers getopt windows implementation. llvm-svn: 192714
22 lines
481 B
CMake
22 lines
481 B
CMake
set(LLVM_NO_RTTI 1)
|
|
add_lldb_executable(lldb
|
|
Driver.cpp
|
|
#DriverEvents.cpp
|
|
#DriverOptions.cpp
|
|
#DriverPosix.cpp
|
|
IOChannel.cpp
|
|
ELWrapper.cpp
|
|
Platform.cpp
|
|
GetOptWrapper.cpp
|
|
)
|
|
|
|
target_link_libraries(lldb liblldb)
|
|
# TODO: why isn't this done by add_lldb_executable?
|
|
#target_link_libraries(lldb ${LLDB_USED_LIBS})
|
|
#llvm_config(lldb ${LLVM_LINK_COMPONENTS})
|
|
|
|
set_target_properties(lldb PROPERTIES VERSION ${LLDB_VERSION})
|
|
|
|
install(TARGETS lldb
|
|
RUNTIME DESTINATION bin)
|