summaryrefslogtreecommitdiffstats
path: root/package.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'package.sh.in')
-rw-r--r--package.sh.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/package.sh.in b/package.sh.in
new file mode 100644
index 0000000..7c15b78
--- /dev/null
+++ b/package.sh.in
@@ -0,0 +1,7 @@
+cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;libraries;/"
+cpack -D CPACK_INSTALL_CMAKE_PROJECTS="${CMAKE_CURRENT_BINARY_DIR}/;Project;headers;/" -D CPACK_PACKAGE_FILE_NAME="libuca-${UCA_VERSION_MAJOR}.${UCA_VERSION_MINOR}.${UCA_VERSION_PATCH}-devel"
+
+# Build packages for all available cameras
+for shell_script in `find -name 'package-plugin-*.sh'`; do
+ sh $shell_script
+done