1 cmake_minimum_required(VERSION 3.13.4)
3 project(Debugserver LANGUAGES C CXX ASM-ATT)
5 if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
8 "${CMAKE_SOURCE_DIR}/../../cmake"
9 "${CMAKE_SOURCE_DIR}/../../cmake/modules"
12 include(LLDBStandalone)
13 include(debugserverConfig)
16 set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
17 include_directories(${LLDB_SOURCE_DIR}/include)
20 # debugserver contains ObjC++ code, so let's disable Clang modules
21 # in this subdirectory to avoid building ObjC++ modules (which often
22 # doesn't properly work).
25 add_subdirectory(source)