#!/bin/bash

# Promenne pro kompilaci
ProjectName="rune-opengl2"
ProjectType="SharedLibrary"
Version="Debug"
Options="-ansi -pedantic -frtti -fexceptions -fshort-wchar -Wall -Wextra -Wno-long-long -Wundef"
DebugOptions="-g2 -DDEBUG"
ReleaseOptions="-O2 -ffast-math -DNDEBUG"
PrecompiledHeader="stdafx.h"
IncludePath1="../rune"
IncludePath2="."
IncludePath3="../../include"
Libs="[\"rune\", \"GL\", \"X11\", \"Xxf86vm\", \"GLEW\"]"
LibPath="[\"../../lib\", \"/usr/X11R6/lib\"]"
OutputDir="../../bin"
LibraryDir=""

# Kompilace

ScriptDir=`dirname $0`

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