[Lldb-commits] [PATCH] D65362: [CMake] Move project() call to main CMake file
Haibo Huang via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 29 16:09:23 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL367273: [CMake] Move project() call to main CMake file (authored by hhb, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D65362?vs=212037&id=212245#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65362/new/
https://reviews.llvm.org/D65362
Files:
lldb/trunk/CMakeLists.txt
lldb/trunk/cmake/modules/LLDBStandalone.cmake
Index: lldb/trunk/cmake/modules/LLDBStandalone.cmake
===================================================================
--- lldb/trunk/cmake/modules/LLDBStandalone.cmake
+++ lldb/trunk/cmake/modules/LLDBStandalone.cmake
@@ -1,5 +1,3 @@
-project(lldb)
-
option(LLVM_INSTALL_TOOLCHAIN_ONLY "Only include toolchain files in the 'install' target." OFF)
find_package(LLVM REQUIRED CONFIG HINTS "${LLVM_DIR}" NO_CMAKE_FIND_ROOT_PATH)
Index: lldb/trunk/CMakeLists.txt
===================================================================
--- lldb/trunk/CMakeLists.txt
+++ lldb/trunk/CMakeLists.txt
@@ -14,6 +14,7 @@
# If we are not building as part of LLVM, build LLDB as a standalone project,
# using LLVM as an external library.
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
+ project(lldb)
include(LLDBStandalone)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65362.212245.patch
Type: text/x-patch
Size: 841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190729/c566b15a/attachment.bin>
More information about the lldb-commits
mailing list