Added basic support for CPack.

llvm-svn: 116516
This commit is contained in:
Oscar Fuentes 2010-10-14 21:11:51 +00:00
parent c1ef47986b
commit 49f72b635e
1 changed files with 6 additions and 0 deletions

View File

@ -421,3 +421,9 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
)
# TODO: make and install documentation.
set(CPACK_PACKAGE_VENDOR "LLVM")
set(CPACK_PACKAGE_VERSION_MAJOR 2)
set(CPACK_PACKAGE_VERSION_MINOR 9)
add_version_info_from_vcs(CPACK_PACKAGE_VERSION_PATCH)
include(CPack)