summaryrefslogtreecommitdiff
path: root/build/pcmake
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/pcmake
parent25adf485cd4eae706ad0d49c05f247e935e8d267 (diff)
downloadManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.gz
ManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.bz2
ManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.xz
ManaVerse-79aba82be3de5b6b571e2f59f7a34ded4b03160f.zip
Add profile build to windows version.
Change mingw dirs.
Diffstat (limited to 'build/pcmake')
-rwxr-xr-xbuild/pcmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/pcmake b/build/pcmake
new file mode 100755
index 000000000..6f8db72d4
--- /dev/null
+++ b/build/pcmake
@@ -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 -pg -ffast-math"
+cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log
+
+make -j5 VERBOSE=1 2>>build/make.log
+