]> granicus.if.org Git - clang/commit
libclang: add install/distribution targets for python
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 20 Aug 2018 22:50:18 +0000 (22:50 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 20 Aug 2018 22:50:18 +0000 (22:50 +0000)
commit359d77b672d78791d3cf5362c7bb4a5fca2b4202
tree09568e190a2cb7b20d83226757596049c80f3dba
parente20516350f5e2062f0b5f49efb56acd94c83e5e4
libclang: add install/distribution targets for python

Add installation support for the python bindings for libclang.  Add an
additional CMake configuration variable to enumerate the python versions for
which the bindings should be installed.  This allows for a LLVM/clang
distribution to distribute the python bindings for libclang as part of the
image.  Because the python versions need to be explicitly stated by the user,
the default image remains unchanged.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340228 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
tools/libclang/CMakeLists.txt