summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB/MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in
diff options
context:
space:
mode:
authorRaffi Enficiaud <raffi.enficiaud@mines-paris.org>2015-04-21 20:48:37 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-23 13:03:10 (GMT)
commit75b0e1679c39ca824a4c49d9e1a2ae2b5f04ae06 (patch)
treead0adcba48eb69edc50c2d2c9718f1434e6e1597 /Tests/CPackComponentsDEB/MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in
parentfdfe4586a047d9b6cc64efdd22fbdc67e9f1193f (diff)
downloadCMake-75b0e1679c39ca824a4c49d9e1a2ae2b5f04ae06.zip
CMake-75b0e1679c39ca824a4c49d9e1a2ae2b5f04ae06.tar.gz
CMake-75b0e1679c39ca824a4c49d9e1a2ae2b5f04ae06.tar.bz2
CPackDeb: Add basic package tests
Tests of generated component based deb packages with lintian and dpkg. Also includes basic file name check.
Diffstat (limited to 'Tests/CPackComponentsDEB/MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in')
-rw-r--r--Tests/CPackComponentsDEB/MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/CPackComponentsDEB/MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in
new file mode 100644
index 0000000..e0a9e9d
--- /dev/null
+++ b/Tests/CPackComponentsDEB/MyLibCPackConfig-components-lintian-dpkgdeb-checks.cmake.in
@@ -0,0 +1,15 @@
+#
+# Activate component packaging
+#
+
+if(CPACK_GENERATOR MATCHES "DEB")
+ set(CPACK_DEB_COMPONENT_INSTALL "ON")
+endif()
+
+#
+# Choose grouping way
+#
+#set(CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE)
+#set(CPACK_COMPONENTS_GROUPING)
+set(CPACK_COMPONENTS_IGNORE_GROUPS 1)
+#set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1)