Skip to content

Commit d62842a

Browse files
added the ability to create packages
1 parent e9e0e4c commit d62842a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

CMakeLists.txt

+15
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,18 @@ ADD_SUBDIRECTORY (src-dox)
2727
ADD_SUBDIRECTORY (src-lib)
2828
ADD_SUBDIRECTORY (src-test)
2929

30+
# create .deb and source tarballs
31+
SET (CPACK_PACKAGE_VENDOR "Stephane Charette")
32+
SET (CPACK_PACKAGE_CONTACT "[email protected]")
33+
SET (CPACK_PACKAGE_NAME "movedetect")
34+
SET (CPACK_PACKAGE_VERSION "0.0.1")
35+
SET (CPACK_PACKAGE_VERSION_MAJOR "0")
36+
SET (CPACK_PACKAGE_VERSION_MINOR "0")
37+
SET (CPACK_PACKAGE_VERSION_PATCH "1")
38+
SET (CPACK_PACKAGE_DESCRIPTION_SUMMARY "MoveDetect C++ library")
39+
SET (CPACK_PACKAGE_DESCRIPTION "MoveDetect C++ library")
40+
SET (CPACK_PACKAGE_HOMEPAGE_URL "https://www.ccoderun.ca/")
41+
SET (CPACK_GENERATOR "DEB")
42+
SET (CPACK_SOURCE_IGNORE_FILES ".svn" ".kdev4" "build/" "build_and_upload" )
43+
SET (CPACK_SOURCE_GENERATOR "TGZ;ZIP")
44+
INCLUDE( CPack )

0 commit comments

Comments
 (0)