This revision was automatically updated to reflect the committed changes. Closed by commit rL350390: [CMake] Move debugserver options to separate debugserverConfig.cmake (authored by stefan.graenitz, committed by ). Herald added a subscriber: llvm-commits.
Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55320/new/ https://reviews.llvm.org/D55320 Files: lldb/trunk/cmake/modules/debugserverConfig.cmake lldb/trunk/tools/debugserver/CMakeLists.txt Index: lldb/trunk/cmake/modules/debugserverConfig.cmake =================================================================== --- lldb/trunk/cmake/modules/debugserverConfig.cmake +++ lldb/trunk/cmake/modules/debugserverConfig.cmake @@ -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) Index: lldb/trunk/tools/debugserver/CMakeLists.txt =================================================================== --- lldb/trunk/tools/debugserver/CMakeLists.txt +++ lldb/trunk/tools/debugserver/CMakeLists.txt @@ -10,13 +10,12 @@ ) 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)
Index: lldb/trunk/cmake/modules/debugserverConfig.cmake =================================================================== --- lldb/trunk/cmake/modules/debugserverConfig.cmake +++ lldb/trunk/cmake/modules/debugserverConfig.cmake @@ -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) Index: lldb/trunk/tools/debugserver/CMakeLists.txt =================================================================== --- lldb/trunk/tools/debugserver/CMakeLists.txt +++ lldb/trunk/tools/debugserver/CMakeLists.txt @@ -10,13 +10,12 @@ ) 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