summaryrefslogtreecommitdiffstats
path: root/build/setup/build/ccpi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/setup/build/ccpi.sh')
-rw-r--r--build/setup/build/ccpi.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/setup/build/ccpi.sh b/build/setup/build/ccpi.sh
new file mode 100644
index 0000000..329fbdf
--- /dev/null
+++ b/build/setup/build/ccpi.sh
@@ -0,0 +1,13 @@
+#! /usr/bin/env bash
+
+real_script=$(readlink "$0")
+[ -z "$real_script" ] && real_script="$0"
+script_path=$(dirname "$real_script")
+
+set -o errexit
+
+# Do both (as framework's cmake install python files in invalid location)
+[ -f CMakeLists.txt ] && bash "$script_path/cmake.sh"
+[ -d Wrappers/Python ] && bash "$script_path/python.sh"
+
+exit 0