Lines Matching +full:lldb +full:- +full:build

14     "In-source builds are not allowed. CMake would overwrite the makefiles "
15 "distributed with LLDB. Please create a directory and run cmake from "
54 add_optional_dependency(LLDB_ENABLE_SWIG "Enable SWIG to generate LLDB bindings" SWIG SWIG_FOUND VERSION 4)
55 add_optional_dependency(LLDB_ENABLE_LIBEDIT "Enable editline support in LLDB" LibEdit LibEdit_FOUND)
56 add_optional_dependency(LLDB_ENABLE_CURSES "Enable curses support in LLDB" CursesAndPanel CURSESANDPANEL_FOUND)
57 add_optional_dependency(LLDB_ENABLE_LZMA "Enable LZMA compression support in LLDB" LibLZMA LIBLZMA_FOUND)
58 add_optional_dependency(LLDB_ENABLE_LUA "Enable Lua scripting support in LLDB" LuaAndSwig LUAANDSWIG_FOUND)
59 add_optional_dependency(LLDB_ENABLE_PYTHON "Enable Python scripting support in LLDB" PythonAndSwig PYTHONANDSWIG_FOUND)
60 add_optional_dependency(LLDB_ENABLE_LIBXML2 "Enable Libxml 2 support in LLDB" LibXml2 LIBXML2_FOUND VERSION 2.8)
61 add_optional_dependency(LLDB_ENABLE_FBSDVMCORE "Enable libfbsdvmcore support in LLDB" FBSDVMCore FBSDVMCore_FOUND QUIET)
64 option(LLDB_BUILD_FRAMEWORK "Build LLDB.framework (Darwin only)" OFF)
67 option(LLDB_SKIP_STRIP "Whether to skip stripping of binaries when installing lldb." OFF)
68 option(LLDB_SKIP_DSYM "Whether to skip generating a dSYM when installing lldb." OFF)
74 directory containing the LLDB library.")
87 message(FATAL_ERROR "LLDB.framework can only be generated when targeting Apple platforms")
90 set(LLDB_FRAMEWORK_VERSION A CACHE STRING "LLDB.framework version (default is A)")
91 set(LLDB_FRAMEWORK_BUILD_DIR bin CACHE STRING "Output directory for LLDB.framework")
92 set(LLDB_FRAMEWORK_INSTALL_DIR Library/Frameworks CACHE STRING "Install directory for LLDB.framework")
102 # copied into LLDB.framework in the build tree.
106 # wrong RPATH (i.e. build RPATH instead of install RPATH).
112 add_custom_target(lldb-framework-cleanup
113 COMMENT "Cleaning up build-tree frameworks in preparation for install")
120 "If this was a mistake, clean your build directory and re-run CMake with:\n"
121 " -C ${CMAKE_SOURCE_DIR}/cmake/caches/Apple-lldb-Xcode.cmake\n"
122 "See: https://lldb.llvm.org/resources/build.html#cmakegeneratedxcodeproject\n")
127 "Causes lldb to export some private symbols when building liblldb. See lldb/source/API/liblldb-private.exports for the full list of symbols that get exported.")
138 add_definitions( -DHAVE_ROUND )
142 # '--enable-widec').
173 "Path to use as PYTHONHOME in lldb. If a relative path is specified, it will be resolved at runtime relative to liblldb directory.")
184 # GCC silently accepts any -Wno-<foo> option, but warns about those options
187 # form -W<foo>, and if supported, add the corresponding -Wno-<foo> option.
191 append("-Wno-unknown-pragmas" CMAKE_CXX_FLAGS)
192 append("-Wno-strict-aliasing" CMAKE_CXX_FLAGS)
194 check_cxx_compiler_flag("-Wstringop-truncation" CXX_SUPPORTS_STRINGOP_TRUNCATION)
195 append_if(CXX_SUPPORTS_STRINGOP_TRUNCATION "-Wno-stringop-truncation" CMAKE_CXX_FLAGS)
200 append("-Wno-vla-extension" CMAKE_CXX_FLAGS)
206 -wd4018 # Suppress 'warning C4018: '>=' : signed/unsigned mismatch'
207 -wd4068 # Suppress 'warning C4068: unknown pragma'
208 -wd4150 # Suppress 'warning C4150: deletion of pointer to incomplete type'
209 -wd4201 # Suppress 'warning C4201: nonstandard extension used: nameless struct/union'
210 -wd4251 # Suppress 'warning C4251: T must have dll-interface to be used by clients of class U.'
211 -wd4521 # Suppress 'warning C4521: 'type' : multiple copy constructors specified'
212 -wd4530 # Suppress 'warning C4530: C++ exception handler used, but unwind semantics are not enabled.'
213 -wd4589 # Suppress 'warning C4589: Constructor of abstract class 'lldb_private::NativeRegisterContextDBReg_x86' ignores initializer for virtual base class 'lldb_private::NativeRegisterContextRegisterInfo''
217 # Use the Unicode (UTF-16) APIs by default on Win32
219 add_definitions( -D_UNICODE -DUNICODE )
236 message(STATUS "LLDB version: ${LLDB_VERSION}")
249 COMPONENT lldb-headers
257 COMPONENT lldb-headers
264 add_custom_target(lldb-headers)
265 set_target_properties(lldb-headers PROPERTIES FOLDER "LLDB/Resources")
268 add_llvm_install_targets(install-lldb-headers
269 COMPONENT lldb-headers)
273 # Find Apple-specific libraries or frameworks that may be needed.
293 # Figure out if lldb could use lldb-server. If so, then we'll
294 # ensure we build lldb-server when an lldb target is being built.
301 # Figure out if lldb could use debugserver. If so, then we'll
302 # ensure we build debugserver when we build lldb.