[AMDGPU] Add commute for some VOP3 inst (#121326)
[llvm-project.git] / lldb / tools / debugserver / CMakeLists.txt
blob74afea804598b71de3d2ad6ba7b3e998ce2075bd
1 cmake_minimum_required(VERSION 3.20.0)
3 project(Debugserver LANGUAGES C CXX ASM-ATT)
5 # Must go below project(..)
6 include(GNUInstallDirs)
8 if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
9   set(LLDB_BUILT_STANDALONE TRUE)
11   set(CMAKE_MODULE_PATH
12     ${CMAKE_MODULE_PATH}
13     "${CMAKE_SOURCE_DIR}/../../cmake"
14     "${CMAKE_SOURCE_DIR}/../../cmake/modules"
15     )
17   include(LLDBStandalone)
18   include(debugserverConfig)
19   include(AddLLDB)
21   set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
22   include_directories(${LLDB_SOURCE_DIR}/include)
23 endif()
25 # debugserver contains ObjC++ code, so let's disable Clang modules
26 # in this subdirectory to avoid building ObjC++ modules (which often
27 # doesn't properly work).
28 remove_module_flags()
30 add_subdirectory(source)