Hi Pablo,
I would like to add CPack support to your panomatic-lib project 
(lp:~pablo.dangelo/hugin/panomatic-lib)
For now the patch is valid for debian only (I have ubuntu here). But easy to 
expand. Will try on SuSE later.

Creating package is as usual:
        #cmake{source-to-panomatic-lib} -DCPACK_BINARY_DEB=ON
        #make package

        Kornel

-- 
Kornel Benko
[email protected]
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2010-03-11 05:09:54 +0000
+++ CMakeLists.txt	2010-07-28 19:49:13 +0000
@@ -82,3 +82,12 @@
 add_subdirectory(zthread/src)
 add_subdirectory(panomatic)
 
+SET(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
+# The next one is mac-only
+SET(CPACK_PACKAGE_DEFAULT_LOCATION ${CMAKE_INSTALL_PREFIX})
+
+set(CPACK_PACKAGE_CONTACT "Pablo d'Angelo")
+
+
+INCLUDE(CPack)
+

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to