[Lldb-commits] [PATCH] Change the way SWIG is found, and fixed a typo in OS detection

Ismail Pazarbasi ismail.pazarbasi at gmail.com
Mon Nov 17 09:55:00 PST 2014


================
Comment at: scripts/CMakeLists.txt:12
@@ -12,1 +11,3 @@
+	  DEPENDS ${SWIG_INPUTS}
+	  COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/buildSwigWrapperClasses.py "--srcRoot=${LLDB_SOURCE_DIR}" "--targetDir=${CMAKE_CURRENT_BINARY_DIR}" "--cfgBldDir=${CMAKE_CURRENT_BINARY_DIR}" "--prefix=${CMAKE_BINARY_DIR}" "--swigDir=${SWIG_DIR}" "--swigExecutable=${SWIG_EXECUTABLE}" -m
 	  COMMENT "Python script building LLDB Python wrapper")  
----------------
emaste wrote:
> I must be missing something -- I don't see how swigDir is used.
CMake is setting that variable. That directory seems like to include skeleton/template/boilerplate files. buildSwigWrapperClasses.py, however, doesn't use it. I thought it might be useful in the future, and kept it. Perhaps it's best to remove it to prevent confusion.

http://reviews.llvm.org/D6290






More information about the lldb-commits mailing list