commit f3075c26
Script to compile the windows version with mxe.
See https://github.com/sago007/sago_env/wiki/cppdb-on-MXE for compiling cppdb
Changed files
| M | src/Makefile before |
| A | src/mxe-build.sh |
diff --git a/src/Makefile b/src/Makefile
index 4426fef..e76386c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,9 @@
+#ifndef USEDBIXX
USEDBIXX=1
+#endif
+#ifndef USECPPDB
USECPPDB=1
+#endif
BASE_LIBS=-lgcrypt -lboost_program_options -lgpg-error
BASE_CFLAGS=-c -g -O2 -Wall -std=c++0x
diff --git a/src/mxe-build.sh b/src/mxe-build.sh
new file mode 100755
index 0000000..08f8ab2
--- /dev/null
+++ b/src/mxe-build.sh
@@ -0,0 +1 @@
+CXX=i686-pc-mingw32-g++ make USEDBIXX=0