summaryrefslogtreecommitdiff
path: root/build/dcmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-15 18:35:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 15:25:19 +0300
commit79aba82be3de5b6b571e2f59f7a34ded4b03160f (patch)
tree5f43edee561f67bb7ef19ef1d81ed294a4cb1fc2 /build/dcmake
parent25adf485cd4eae706ad0d49c05f247e935e8d267 (diff)
downloadplus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.gz
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.bz2
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.xz
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.zip
Add profile build to windows version.
Change mingw dirs.
Diffstat (limited to 'build/dcmake')
-rwxr-xr-xbuild/dcmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/dcmake b/build/dcmake
new file mode 100755
index 000000000..7dd06c370
--- /dev/null
+++ b/build/dcmake
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+cd ..
+
+export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH
+export CXXFLAGS="-Wall -g1 -O2 -ffast-math"
+cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log
+
+make -j5 VERBOSE=1 2>>build/make.log
+