summaryrefslogblamecommitdiff
path: root/build/bcmake
blob: 64f67e9bfcfa5835d1cf86a7917a93bdc5fa5f56 (plain) (tree)
1
2
3
4
5
6
7
8
9



           
                                                                              
                                                                                                                                       
                                                                                                      
                                                                      
 
                                     
 
#!/bin/bash

cd ..

export PATH=/home/mingw/cross/i686-w64-mingw32/bin:/home/mingw/cross/bin:$PATH
export CXXFLAGS="-Wall -O5 -flto -fwhole-program -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x -Wno-attributes"
#export CXXFLAGS="-Wall -O5 -g1 -ffast-math -funswitch-loops -funsafe-loop-optimizations -std=gnu++0x"
cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log

make -j16 VERBOSE=1 2>>build/make.log