1 set(LLVM_TARGET_DEFINITIONS Options.td)
2 tablegen(LLVM Options.inc -gen-opt-parser-defs)
3 add_public_tablegen_target(LLDBOptionsTableGen)
7 ${CMAKE_CURRENT_SOURCE_DIR}/lldb-Info.plist.in
8 ${CMAKE_CURRENT_BINARY_DIR}/lldb-Info.plist
10 # Inline info plist in binary (use target_link_options for this as soon as CMake 3.13 is available)
11 set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_BINARY_DIR}/lldb-Info.plist")
31 set_target_properties(LLDBOptionsTableGen PROPERTIES FOLDER "lldb misc")
33 if(LLDB_BUILD_FRAMEWORK)
34 # In the build-tree, we know the exact path to the framework directory.
35 # The installed framework can be in different locations.
36 lldb_setup_rpaths(lldb
38 "${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}"
40 "@loader_path/../../../SharedFrameworks"
41 "@loader_path/../../System/Library/PrivateFrameworks"
42 "@loader_path/../../Library/PrivateFrameworks"