git repos / oastat

commit f3075c26

sago007 · 2014-06-24 18:31
f3075c26749e6d9f61b97732391b002835a5fac0 patch · browse files
parent 52f73d5a93eefec14f3fab7746e6843a3ff45704

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