Author: stefan.graenitz Date: Fri Jan 4 04:46:38 2019 New Revision: 350390
URL: http://llvm.org/viewvc/llvm-project?rev=350390&view=rev Log: [CMake] Move debugserver options to separate debugserverConfig.cmake Summary: One place for debugserver options, analog to LLDBConfig for LLDB options (see D55317). It was discussed in earlier reviews already, e.g. D55013. Reviewers: JDevlieghere, aprantl, xiaobai Reviewed By: aprantl, xiaobai Subscribers: mgorny, lldb-commits, #lldb Differential Revision: https://reviews.llvm.org/D55320 Added: lldb/trunk/cmake/modules/debugserverConfig.cmake Modified: lldb/trunk/tools/debugserver/CMakeLists.txt Added: lldb/trunk/cmake/modules/debugserverConfig.cmake URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/debugserverConfig.cmake?rev=350390&view=auto ============================================================================== --- lldb/trunk/cmake/modules/debugserverConfig.cmake (added) +++ lldb/trunk/cmake/modules/debugserverConfig.cmake Fri Jan 4 04:46:38 2019 @@ -0,0 +1,3 @@ +# Duplicate options from LLDBConfig that are relevant for debugserver Standalone builds. + +option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if available" ON) Modified: lldb/trunk/tools/debugserver/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/CMakeLists.txt?rev=350390&r1=350389&r2=350390&view=diff ============================================================================== --- lldb/trunk/tools/debugserver/CMakeLists.txt (original) +++ lldb/trunk/tools/debugserver/CMakeLists.txt Fri Jan 4 04:46:38 2019 @@ -10,13 +10,12 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR ) include(LLDBStandalone) + include(debugserverConfig) include(AddLLDB) set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../") include_directories(${LLDB_SOURCE_DIR}/include) - option(LLDB_USE_ENTITLEMENTS "When code signing, use entitlements if available" ON) - # lldb-suite is a dummy target that encompasses all the necessary tools and # libraries for building a fully-functioning liblldb. add_custom_target(lldb-suite) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits