[Lldb-commits] [lldb] r369502 - Properly EXCLUDE_FROM_ALL the testing support library

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 21 01:21:52 PDT 2019


Author: labath
Date: Wed Aug 21 01:21:51 2019
New Revision: 369502

URL: http://llvm.org/viewvc/llvm-project?rev=369502&view=rev
Log:
Properly EXCLUDE_FROM_ALL the testing support library

The EXCLUDE_FROM_ALL variable is used by add_llvm_library, but lldb does
not use that function (it uses llvm_add_library :P). Instead, set the directory
property with the same name directly.

This should fix standalone builds against an llvm install tree.

Modified:
    lldb/trunk/unittests/TestingSupport/CMakeLists.txt

Modified: lldb/trunk/unittests/TestingSupport/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/TestingSupport/CMakeLists.txt?rev=369502&r1=369501&r2=369502&view=diff
==============================================================================
--- lldb/trunk/unittests/TestingSupport/CMakeLists.txt (original)
+++ lldb/trunk/unittests/TestingSupport/CMakeLists.txt Wed Aug 21 01:21:51 2019
@@ -1,4 +1,4 @@
-set(EXCLUDE_FROM_ALL ON)
+set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON)
 add_lldb_library(lldbUtilityHelpers
   MockTildeExpressionResolver.cpp
   TestUtilities.cpp




More information about the lldb-commits mailing list