aboutsummaryrefslogtreecommitdiff
path: root/vmime-master/test-outsourced-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vmime-master/test-outsourced-build.sh')
-rwxr-xr-xvmime-master/test-outsourced-build.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/vmime-master/test-outsourced-build.sh b/vmime-master/test-outsourced-build.sh
new file mode 100755
index 0000000..ac07288
--- /dev/null
+++ b/vmime-master/test-outsourced-build.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+rm -rf _build _install
+mkdir _build _install
+cd _build
+rm -f ../CMakeCache.txt ../src/vmime/config.hpp ../src/vmime/export-static.hpp ../src/vmime/export-shared.hpp
+#cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DVMIME_BUILD_SHARED_LIBRARY=NO
+#cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DVMIME_BUILD_TESTS=YES
+cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DVMIME_BUILD_TESTS=YES -DVMIME_BUILD_SAMPLES=YES -DVMIME_TLS_SUPPORT_LIB=openssl -DCMAKE_BUILD_TYPE=Debug
+cmake .. -L
+make
+make install
+