aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-10-14 21:11:51 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-10-14 21:11:51 +0000
commit4d156d3a251ef3f8d9b52cbcb91c937f11d4da2f (patch)
treeac0579b88f952cb4721f4b76eb3ef27971222049 /CMakeLists.txt
parent792e9796b3dc068d4545e9f5ff927b02731e3836 (diff)
Added basic support for CPack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 170b590825..19257201fc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)