summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB/mylib.cpp
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/mylib.cpp
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/mylib.cpp')
-rw-r--r--Tests/CPackComponentsDEB/mylib.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CPackComponentsDEB/mylib.cpp b/Tests/CPackComponentsDEB/mylib.cpp
new file mode 100644
index 0000000..8ddac19
--- /dev/null
+++ b/Tests/CPackComponentsDEB/mylib.cpp
@@ -0,0 +1,7 @@
+#include "mylib.h"
+#include "stdio.h"
+
+void mylib_function()
+{
+ printf("This is mylib");
+}