]> granicus.if.org Git - clang/commit
[cmake] Install 'clang-cpp' symlink
authorMichal Gorny <mgorny@gentoo.org>
Sun, 2 Oct 2016 19:28:57 +0000 (19:28 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Sun, 2 Oct 2016 19:28:57 +0000 (19:28 +0000)
commit9bdb6e08af293d6089cf2c0a4edd585a818ca6a5
treecabdee88c9ddc12b6b0c6fb9caf75e7086d4b7ee
parent2e789560ed65b924d192336e9e95bb5e3a866b99
[cmake] Install 'clang-cpp' symlink

Install the 'clang-cpp' symlink used to spawn the preprocessor. The code
handling this suffix is already included in Driver. FreeBSD is already
creating such a symlink in ports, and a similar one was requested
by Gentoo/FreeBSD team. The goal is to handle software that takes a C
preprocessor via a variable but does not handle passing options
correctly (i.e. 'clang -E' does not work).

Bug: https://bugs.gentoo.org/478810

Differential Revision: https://reviews.llvm.org/D25161

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