1dc32434ba40c72e9a19b7ea4d101fb3537380ec
[lldb.git] / lldb / tools / debugserver / CMakeLists.txt
1 cmake_minimum_required(VERSION 3.4.3)
2
3 project(Debugserver LANGUAGES C CXX ASM-ATT)
4
5 if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
6   set(CMAKE_MODULE_PATH
7     ${CMAKE_MODULE_PATH}
8     "${CMAKE_SOURCE_DIR}/../../cmake"
9     "${CMAKE_SOURCE_DIR}/../../cmake/modules"
10     )
11
12   include(LLDBStandalone)
13   include(debugserverConfig)
14   include(AddLLDB)
15
16   set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
17   include_directories(${LLDB_SOURCE_DIR}/include)
18 endif()
19
20 add_subdirectory(source)