[llvm] r348064 - [projects] Use add_llvm_external_project for implicit projects
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 17:41:27 PST 2018
Author: smeenai
Date: Fri Nov 30 17:41:27 2018
New Revision: 348064
URL: http://llvm.org/viewvc/llvm-project?rev=348064&view=rev
Log:
[projects] Use add_llvm_external_project for implicit projects
This allows disabling implicit projects via the LLVM_TOOL_*_BUILD
variables, similar to how implicit tools can be disabled. They'll still
be enabled by default, since add_llvm_external_project defaults the
LLVM_TOOL_*_BUILD variables to ON for in-tree implciit projects.
Differential Revision: https://reviews.llvm.org/D55105
Modified:
llvm/trunk/projects/CMakeLists.txt
Modified: llvm/trunk/projects/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/projects/CMakeLists.txt?rev=348064&r1=348063&r2=348064&view=diff
==============================================================================
--- llvm/trunk/projects/CMakeLists.txt (original)
+++ llvm/trunk/projects/CMakeLists.txt Fri Nov 30 17:41:27 2018
@@ -13,7 +13,7 @@ foreach(entry ${entries})
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/parallel-libs) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/openmp) AND
(NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests))
- add_subdirectory(${entry})
+ add_llvm_external_project(${entry})
endif()
endif()
endforeach(entry)
More information about the llvm-commits
mailing list