This refactoring changes two significant things about how the debugserver build system works: (1) debugserver will include all appropriate architecture support, so we can now build arm or ppc debugservers (2) debugserver can be built by itself, so you don't have to configure all of LLDB in order to generate debugserver. llvm-svn: 308377
20 lines
465 B
CMake
20 lines
465 B
CMake
cmake_minimum_required(VERSION 3.4.3)
|
|
|
|
project(Debugserver LANGUAGES C CXX ASM-ATT)
|
|
|
|
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
|
set(CMAKE_MODULE_PATH
|
|
${CMAKE_MODULE_PATH}
|
|
"${CMAKE_SOURCE_DIR}/../../cmake"
|
|
"${CMAKE_SOURCE_DIR}/../../cmake/modules"
|
|
)
|
|
|
|
include(LLDBStandalone)
|
|
include(AddLLDB)
|
|
|
|
set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
|
|
include_directories(${LLDB_SOURCE_DIR}/include)
|
|
endif()
|
|
|
|
add_subdirectory(source)
|