[Lldb-commits] [lldb] r315120 - [CMake] Add LLDB_INCLUDE_TESTS variable
Author: cbieneman Date: Fri Oct 6 15:21:36 2017 New Revision: 315120 URL: http://llvm.org/viewvc/llvm-project?rev=315120&view=rev Log: [CMake] Add LLDB_INCLUDE_TESTS variable This behaves like the other *_INCLUDE_TESTS variables in CMake and is tied to LLVM_INCLUDE_TESTS so that if you're building in-tree and not building the LLVM tests, you also won't build the LLDB tests. Modified: lldb/trunk/CMakeLists.txt Modified: lldb/trunk/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=315120&r1=315119&r2=315120&view=diff == --- lldb/trunk/CMakeLists.txt (original) +++ lldb/trunk/CMakeLists.txt Fri Oct 6 15:21:36 2017 @@ -57,10 +57,15 @@ if (NOT LLDB_DISABLE_PYTHON) add_subdirectory(scripts) endif () add_subdirectory(source) -add_subdirectory(test) add_subdirectory(tools) -add_subdirectory(unittests) -add_subdirectory(lit) + +option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests." + ${LLVM_INCLUDE_TESTS}) +if(LLDB_INCLUDE_TESTS) + add_subdirectory(test) + add_subdirectory(unittests) + add_subdirectory(lit) +endif() if (NOT LLDB_DISABLE_PYTHON) # Add a Post-Build Event to copy over Python files and create the symlink ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] r315123 - Specify the input & output results of the "Prepare Swig Bindings"
Author: jmolenda Date: Fri Oct 6 15:43:42 2017 New Revision: 315123 URL: http://llvm.org/viewvc/llvm-project?rev=315123&view=rev Log: Specify the input & output results of the "Prepare Swig Bindings" shell script phase to aid build systems. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lldb.xcodeproj/project.pbxproj?rev=315123&r1=315122&r2=315123&view=diff == --- lldb/trunk/lldb.xcodeproj/project.pbxproj (original) +++ lldb/trunk/lldb.xcodeproj/project.pbxproj Fri Oct 6 15:43:42 2017 @@ -7102,9 +7102,11 @@ files = ( ); inputPaths = ( + "$(SRCROOT)/scripts/Python/static-binding/LLDBWrapPython.cpp", ); name = "Prepare Swig Bindings"; outputPaths = ( + "$(BUILT_PRODUCTS_DIR)/LLDBWrapPython.cpp", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/bash; ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] r315135 - Remove the input file specification from the
Author: jmolenda Date: Fri Oct 6 17:13:10 2017 New Revision: 315135 URL: http://llvm.org/viewvc/llvm-project?rev=315135&view=rev Log: Remove the input file specification from the "Prepare Swig Bindings" shell script phase; it wasn't the actual input file and could lead to incorrect dependency analysis by the build system. Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj Modified: lldb/trunk/lldb.xcodeproj/project.pbxproj URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lldb.xcodeproj/project.pbxproj?rev=315135&r1=315134&r2=315135&view=diff == --- lldb/trunk/lldb.xcodeproj/project.pbxproj (original) +++ lldb/trunk/lldb.xcodeproj/project.pbxproj Fri Oct 6 17:13:10 2017 @@ -7102,7 +7102,6 @@ files = ( ); inputPaths = ( - "$(SRCROOT)/scripts/Python/static-binding/LLDBWrapPython.cpp", ); name = "Prepare Swig Bindings"; outputPaths = ( ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits