[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/automoc
From:       Benjamin Reed <ranger () befunk ! com>
Date:       2009-05-29 14:13:22
Message-ID: 1243606402.198063.1768.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 974500 by reed:

move the cpack bits into a separate cmake file

 A             Automoc4CPack.cmake  
 M  +2 -12     CMakeLists.txt  


--- trunk/kdesupport/automoc/CMakeLists.txt #974499:974500
@@ -13,19 +13,9 @@
 # set the current version number
 include(Automoc4Version.cmake)
 
-set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Automatic moc for Qt 4 packages")
-set(CPACK_PACKAGE_VERSION_MAJOR ${AUTOMOC4_VERSION_MAJOR})
-set(CPACK_PACKAGE_VERSION_MINOR ${AUTOMOC4_VERSION_MINOR})
-set(CPACK_PACKAGE_VERSION_PATCH ${AUTOMOC4_VERSION_PATCH})
-if (APPLE)
-	set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/cpack/README.txt")
-	set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/cpack/LICENSE.txt")
-	set(CPACK_SET_DESTDIR ON)
-   set(CPACK_PACKAGE_RELOCATABLE OFF)
-endif (APPLE)
+# set up packaging
+include(Automoc4CPack.cmake)
 
-include(CPack)
-
 configure_file(automoc4_config.h.in ${CMAKE_CURRENT_BINARY_DIR}/automoc4_config.h)
 
 # Always include srcdir and builddir in include path

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic