[llvm-commits] [llvm] r116516 - /llvm/trunk/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Thu Oct 14 14:11:51 PDT 2010


Author: ofv
Date: Thu Oct 14 16:11:51 2010
New Revision: 116516

URL: http://llvm.org/viewvc/llvm-project?rev=116516&view=rev
Log:
Added basic support for CPack.

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=116516&r1=116515&r2=116516&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Thu Oct 14 16:11:51 2010
@@ -421,3 +421,9 @@
   )
 
 # 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)





More information about the llvm-commits mailing list