summaryrefslogtreecommitdiffstats
path: root/libcommuni/src/3rdparty/uchardet-0.0.1/script
diff options
context:
space:
mode:
Diffstat (limited to 'libcommuni/src/3rdparty/uchardet-0.0.1/script')
-rw-r--r--libcommuni/src/3rdparty/uchardet-0.0.1/script/debug.sh9
-rw-r--r--libcommuni/src/3rdparty/uchardet-0.0.1/script/release.sh8
-rw-r--r--libcommuni/src/3rdparty/uchardet-0.0.1/script/win32.sh7
3 files changed, 24 insertions, 0 deletions
diff --git a/libcommuni/src/3rdparty/uchardet-0.0.1/script/debug.sh b/libcommuni/src/3rdparty/uchardet-0.0.1/script/debug.sh
new file mode 100644
index 0000000..f85d69b
--- /dev/null
+++ b/libcommuni/src/3rdparty/uchardet-0.0.1/script/debug.sh
@@ -0,0 +1,9 @@
+mkdir --parents debug \
+&& cd debug
+
+cmake \
+ -DCMAKE_BUILD_TYPE=Debug \
+ -DCMAKE_INSTALL_PREFIX=`pwd`/root \
+ .. \
+&& make \
+&& make install
diff --git a/libcommuni/src/3rdparty/uchardet-0.0.1/script/release.sh b/libcommuni/src/3rdparty/uchardet-0.0.1/script/release.sh
new file mode 100644
index 0000000..21a5f6e
--- /dev/null
+++ b/libcommuni/src/3rdparty/uchardet-0.0.1/script/release.sh
@@ -0,0 +1,8 @@
+mkdir --parents release \
+&& cd release
+
+cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ .. \
+&& make
diff --git a/libcommuni/src/3rdparty/uchardet-0.0.1/script/win32.sh b/libcommuni/src/3rdparty/uchardet-0.0.1/script/win32.sh
new file mode 100644
index 0000000..b757380
--- /dev/null
+++ b/libcommuni/src/3rdparty/uchardet-0.0.1/script/win32.sh
@@ -0,0 +1,7 @@
+mkdir --parents win32 \
+&& cd win32 \
+&& cmake .. \
+ -G "MSYS Makefiles" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX="" \
+&& make \ No newline at end of file