OSDN Git Service

Added basic support for CPack.
authorOscar Fuentes <ofv@wanadoo.es>
Thu, 14 Oct 2010 21:11:51 +0000 (21:11 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Thu, 14 Oct 2010 21:11:51 +0000 (21:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116516 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 170b590..1925720 100644 (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)