[lldb] Get rid of helper CMake variables for Python
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 17 Aug 2020 15:47:52 +0000 (08:47 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 17 Aug 2020 15:47:52 +0000 (08:47 -0700)
commit75966ee241a2f1b7712caa1bbe66560347b23359
tree0f679f3b7bac3033b866a04d40742a84559db8f0
parent32ebdc70f3af478f4f6a9c75b4bc47a453b1b933
[lldb] Get rid of helper CMake variables for Python

This patch is a big sed to rename the following variables:

  s/PYTHON_LIBRARIES/Python3_LIBRARIES/g
  s/PYTHON_INCLUDE_DIRS/Python3_INCLUDE_DIRS/g
  s/PYTHON_EXECUTABLE/Python3_EXECUTABLE/g
  s/PYTHON_RPATH/Python3_RPATH/g

I've also renamed the CMake module to better express its purpose and for
consistency with FindLuaAndSwig.

Differential revision: https://reviews.llvm.org/D85976
21 files changed:
lldb/CMakeLists.txt
lldb/bindings/python/CMakeLists.txt
lldb/cmake/modules/FindPythonAndSwig.cmake [moved from lldb/cmake/modules/FindPythonInterpAndLibs.cmake with 67% similarity]
lldb/cmake/modules/LLDBConfig.cmake
lldb/source/API/CMakeLists.txt
lldb/source/Plugins/ObjectFile/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/None/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
lldb/test/API/CMakeLists.txt
lldb/test/API/lit.site.cfg.py.in
lldb/test/CMakeLists.txt
lldb/test/Shell/lit.site.cfg.py.in
lldb/test/Unit/lit.site.cfg.py.in
lldb/test/lit.site.cfg.py.in
lldb/tools/intel-features/CMakeLists.txt
lldb/tools/lldb-test/CMakeLists.txt
lldb/unittests/API/CMakeLists.txt
lldb/unittests/Process/Linux/CMakeLists.txt
lldb/unittests/ScriptInterpreter/Lua/CMakeLists.txt
lldb/unittests/ScriptInterpreter/Python/CMakeLists.txt
lldb/utils/lldb-dotest/lldb-dotest.in