[PATCH] D28450: [libcxxabi] By default, enable test targets when building in standalone.

bryant via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 7 16:44:20 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL291378: [libcxxabi] Enable tests by default in standalone. (authored by bryant).

Changed prior to commit:
  https://reviews.llvm.org/D28450?vs=83541&id=83542#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28450

Files:
  libcxxabi/trunk/CMakeLists.txt


Index: libcxxabi/trunk/CMakeLists.txt
===================================================================
--- libcxxabi/trunk/CMakeLists.txt
+++ libcxxabi/trunk/CMakeLists.txt
@@ -70,6 +70,10 @@
   set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
   set(PACKAGE_BUGREPORT "llvm-bugs at lists.llvm.org")
 
+  if (NOT DEFINED LLVM_INCLUDE_TESTS)
+    set(LLVM_INCLUDE_TESTS ON)
+  endif()
+
   if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
     set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
   else()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28450.83542.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170108/d700da39/attachment-0001.bin>


More information about the cfe-commits mailing list