Browse Source

build: add a Win64 build of libSDL. Useless for now, because SDL_Image

and SDL_Mixer are needed and are a lot harder to build.
legacy
Sam Hocevar sam 13 years ago
parent
commit
247af5b0b7
2 changed files with 8 additions and 7 deletions
  1. +6
    -6
      build/bitten.xml
  2. +2
    -1
      build/lol-build

+ 6
- 6
build/bitten.xml View File

@@ -5,18 +5,18 @@
<svn:checkout url="svn://svn.zoy.org/lolengine/" path="${path}" revision="${revision}" />
</step>
<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 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 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 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 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>
</build>

+ 2
- 1
build/lol-build View File

@@ -70,6 +70,7 @@ configure()
false
fi
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)
if test "x${SYSTEM}" = xMINGW64; then
@@ -82,6 +83,7 @@ configure()
false
fi
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
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/atk-1.0"
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-mixer-1.2.11/lib"
LDFLAGS="$LDFLAGS -L$PWD/contrib/gtk-2.22.1/lib"


Loading…
Cancel
Save