and SDL_Mixer are needed and are a lot harder to build.legacy
@@ -5,18 +5,18 @@ | |||||
<svn:checkout url="svn://svn.zoy.org/lolengine/" path="${path}" revision="${revision}" /> | <svn:checkout url="svn://svn.zoy.org/lolengine/" path="${path}" revision="${revision}" /> | ||||
</step> | </step> | ||||
<step id="bootstrap" description="Bootstrap build system"> | <step id="bootstrap" description="Bootstrap build system"> | ||||
<sh:exec file="sh" args="-c ./build/lol-build bootstrap ${platform}"/> | |||||
<sh:exec file="./build/lol-build" args="bootstrap ${platform}"/> | |||||
</step> | </step> | ||||
<step id="configure" description="Configure tree"> | <step id="configure" description="Configure tree"> | ||||
<sh:exec file="sh" args="-c ./build/lol-build configure ${platform}"/> | |||||
<sh:exec file="./build/lol-build" args="configure ${platform}"/> | |||||
</step> | </step> | ||||
<step id="build" description="Build tree"> | <step id="build" description="Build tree"> | ||||
<sh:exec file="sh" args="-c ./build/lol-build build ${platform}"/> | |||||
<sh:exec file="./build/lol-build" args="build ${platform}"/> | |||||
</step> | </step> | ||||
<step id="test" description="Run tests"> | |||||
<sh:exec file="sh" args="-c ./build/lol-build test ${platform}"/> | |||||
<step id="check" description="Run tests"> | |||||
<sh:exec file="./build/lol-build" args="check ${platform}"/> | |||||
</step> | </step> | ||||
<step id="clean" description="Clean tree"> | <step id="clean" description="Clean tree"> | ||||
<sh:exec file="sh" args="-c ./build/lol-build clean ${platform}"/> | |||||
<sh:exec file="./build/lol-build" args="clean ${platform}"/> | |||||
</step> | </step> | ||||
</build> | </build> |
@@ -70,6 +70,7 @@ configure() | |||||
false | false | ||||
fi | fi | ||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/i686-w64-mingw32" | LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/i686-w64-mingw32" | ||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/i686-w64-mingw32" | |||||
;; | ;; | ||||
windows-amd64) | windows-amd64) | ||||
if test "x${SYSTEM}" = xMINGW64; then | if test "x${SYSTEM}" = xMINGW64; then | ||||
@@ -82,6 +83,7 @@ configure() | |||||
false | false | ||||
fi | fi | ||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/x86_64-w64-mingw32" | LDFLAGS="$LDFLAGS -L$PWD/contrib/glew-1.7.0/lib/x86_64-w64-mingw32" | ||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib/x86_64-w64-mingw32" | |||||
;; | ;; | ||||
esac | esac | ||||
case "$platform" in | case "$platform" in | ||||
@@ -110,7 +112,6 @@ configure() | |||||
CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtk-2.22.1/include/gdk-pixbuf-2.0" | CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtk-2.22.1/include/gdk-pixbuf-2.0" | ||||
CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtk-2.22.1/include/atk-1.0" | CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtk-2.22.1/include/atk-1.0" | ||||
CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtkglarea-2.0.1/include" | CPPFLAGS="$CPPFLAGS -I$PWD/contrib/gtkglarea-2.0.1/include" | ||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-1.2.14/lib" | |||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-image-1.2.10/lib" | LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-image-1.2.10/lib" | ||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-mixer-1.2.11/lib" | LDFLAGS="$LDFLAGS -L$PWD/contrib/sdl-mixer-1.2.11/lib" | ||||
LDFLAGS="$LDFLAGS -L$PWD/contrib/gtk-2.22.1/lib" | LDFLAGS="$LDFLAGS -L$PWD/contrib/gtk-2.22.1/lib" | ||||