[Lldb-commits] [lldb] r230379 - [CMake] Don't automatically copy python27.dll.

Zachary Turner zturner at google.com
Tue Feb 24 12:58:24 PST 2015


Author: zturner
Date: Tue Feb 24 14:58:24 2015
New Revision: 230379

URL: http://llvm.org/viewvc/llvm-project?rev=230379&view=rev
Log:
[CMake] Don't automatically copy python27.dll.

This is generating problems when you have built both debug and
release python.  For now I just want to get CMake to work, I
will work on a more robust fix later.  In the meantime you may
need to copy python27(_d).dll manually to ninja\bin after
building.

Modified:
    lldb/trunk/scripts/CMakeLists.txt

Modified: lldb/trunk/scripts/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/CMakeLists.txt?rev=230379&r1=230378&r2=230379&view=diff
==============================================================================
--- lldb/trunk/scripts/CMakeLists.txt (original)
+++ lldb/trunk/scripts/CMakeLists.txt Tue Feb 24 14:58:24 2015
@@ -2,11 +2,6 @@ set(LLVM_NO_RTTI 1)
 
 file(GLOB SWIG_INPUTS Python/interface/*.i)
 
-if (CMAKE_SYSTEM_NAME MATCHES "Windows")
-    STRING(REGEX REPLACE "[.]lib" ".dll" PYTHON_DLL ${PYTHON_LIBRARY})
-    file(COPY ${PYTHON_DLL} DESTINATION ${CMAKE_BINARY_DIR}/bin)
-endif ()
-
 if ( LLDB_ENABLE_PYTHON_SCRIPTS_SWIG_API_GENERATION )
 	find_package(SWIG REQUIRED)
 	add_custom_command(





More information about the lldb-commits mailing list