#!/bin/bash

# Promenne pro kompilaci
ProjectName="rune-math"
ProjectType="SharedLibrary"
Version="Debug"
Options="-ansi -pedantic -frtti -fexceptions -fshort-wchar -Wall -Wextra -Wold-style-cast -Wno-long-long -Wundef"
DebugOptions="-g2 -DDEBUG"
ReleaseOptions="-O2 -ffast-math -DNDEBUG"
PrecompiledHeader="stdafx.h"
IncludePath1="."
IncludePath2=""
IncludePath3=""
Libs="[]"
LibPath="[]"
OutputDir="../../lib"
LibraryDir=""

# Kompilace

ScriptDir=`dirname $0`

$ScriptDir/../../compiler.sh "$ProjectName" "$ProjectType" "$Version" "$Options" "$DebugOptions" "$ReleaseOptions" "$PrecompiledHeader" "$IncludePath1" "$IncludePath2" "$IncludePath3" "$Libs" "$LibPath" "$ScriptDir" "$OutputDir" "$LibraryDir"
