diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-08-23 05:28:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-08-23 05:28:29 +0000 |
commit | 7f7b74888e45b0b24d3130f0075a28514f2c7ce8 (patch) | |
tree | 5a844329a22f069b3c6f270fbf1bd0ea72687955 /lib | |
parent | 7ebe97166a4d720a187ab08ba927027e0d32274c (diff) |
CMake: Improve installation of Clang
- Install clang-cc into libexec
- Install headers into lib/clang/<version>/include
- Don't install other clang-based tools (clang-wpa, clang-index, etc.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Headers/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt index 57d7ee5cdd..6c874f4b7b 100644 --- a/lib/Headers/CMakeLists.txt +++ b/lib/Headers/CMakeLists.txt @@ -14,11 +14,10 @@ set(files tmmintrin.h xmmintrin.h) -#FIXME: Centralize Clang version info if (MSVC_IDE OR XCODE) - set(output_dir ${LLVM_BINARY_DIR}/bin/lib/clang/1.0/include) + set(output_dir ${LLVM_BINARY_DIR}/bin/lib/clang/${CLANG_VERSION}/include) else () - set(output_dir ${LLVM_BINARY_DIR}/lib/clang/1.0/include) + set(output_dir ${LLVM_BINARY_DIR}/lib/clang/${CLANG_VERSION}/include) endif () @@ -36,4 +35,4 @@ add_custom_target(clang-headers ALL install(FILES ${files} PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ - DESTINATION Headers) + DESTINATION lib/clang/${CLANG_VERSION}/include) |