#!/bin/sh

set -e
set -x

case "${os}" in
  linux32)
    cmake -DOPT:STRING=release -DTARGET:STRING=linux32 .
    make clean
    make zip
    ;;
  linux64)
    cmake -DOPT:STRING=release -DTARGET:STRING=linux64 .
    make clean
    make zip
    ;;
  win32)
    make clean
    make zip
    ;;
esac

#!/bin/sh

set -e
set -x

case "${os}" in
  linux32)
    cmake -DOPT:STRING=release -DTARGET:STRING=linux32 -DCMAKE_CXX_COMPILER=g++-5 .
    make clean
    make zip
    ;;
  linux64)
    cmake -DOPT:STRING=release -DTARGET:STRING=linux64 -DCMAKE_CXX_COMPILER=g++-5 .
    make clean
    make zip
    ;;
  win32)
    cmake -DOPT:STRING=release -DTARGET:STRING=win32 -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++-posix .
    make clean
    make zip
    ;;
esac

Fix compilers & one dumb error
Fix compilers & one dumb error
