diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2008-10-22 02:56:07 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2008-10-22 02:56:07 +0000 |
commit | 1dc9716121ed3da5ffae3eb25031469620f275e8 (patch) | |
tree | 54f8fc6127c287475e46d17162c7f3ad1e17a7ba /CMakeLists.txt | |
parent | 57bd83be198ee36df82820de56639c19e40aff81 (diff) | |
download | llvm-1dc9716121ed3da5ffae3eb25031469620f275e8.tar.gz llvm-1dc9716121ed3da5ffae3eb25031469620f275e8.tar.bz2 llvm-1dc9716121ed3da5ffae3eb25031469620f275e8.tar.xz |
CMake: `make install' for libraries, executables and header files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 91ecf01287..837e8c1aaf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,3 +157,16 @@ add_subdirectory(lib/Archive) add_subdirectory(tools) add_subdirectory(examples) + +install(DIRECTORY include + DESTINATION . + PATTERN ".svn" EXCLUDE + PATTERN "*.cmake" EXCLUDE + PATTERN "*.in" EXCLUDE + ) + +install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include + DESTINATION . + ) + +# TODO: make and install documentation. |