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 | 33870d908fc5055c6d03108ea573ed0e633eab44 (patch) | |
tree | 38410f8a24bfeb3df77b44aaea9a2de4fe024194 /clang/CMakeLists.txt | |
parent | 22f8ecf0cb723f2dd8168b937a68f64a27827a82 (diff) | |
download | bcm5719-llvm-33870d908fc5055c6d03108ea573ed0e633eab44.tar.gz bcm5719-llvm-33870d908fc5055c6d03108ea573ed0e633eab44.zip |
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.)
llvm-svn: 79827
Diffstat (limited to 'clang/CMakeLists.txt')
-rw-r--r-- | clang/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index bb128d68f2b..eb4bd0c9a49 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -1,3 +1,6 @@ +# Clang version information +set(CLANG_VERSION 1.0) + macro(add_clang_library name) set(srcs ${ARGN}) if(MSVC_IDE OR XCODE) @@ -36,8 +39,6 @@ macro(add_clang_executable name) set(srcs ${srcs} ${headers}) endif(MSVC_IDE) add_llvm_executable( ${name} ${srcs} ) - install(TARGETS ${name} - RUNTIME DESTINATION bin) endmacro(add_clang_executable) include_directories( |