Always use python-based SWIG generation script for CMake.
authorZachary Turner <zturner@google.com>
Thu, 18 Dec 2014 21:25:53 +0000 (21:25 +0000)
committerZachary Turner <zturner@google.com>
Thu, 18 Dec 2014 21:25:53 +0000 (21:25 +0000)
commitf27ae736175a3cc339af15ffc8ad3cb518224c0c
tree81557e7edeb7b14fd8ef3269dd7d783ad57ebcae
parentc242dbb3b6fa267de5935e4190c20d6e56e435b2
Always use python-based SWIG generation script for CMake.

As a first step in addressing Bug #21921 this patch prefers
the python-based SWIG generation by default rather than the
shell-based SWIG generation any time python is enabled
(e.g. LLDB_DISABLE_PYTHON is 0).

Additionally, this patch changes the default value of
LLDB_DISABLE_PYTHON from 1 to 0 on Windows.

Anyone not using the CMake build is unaffected by this patch.

llvm-svn: 224543
lldb/CMakeLists.txt