Compiling Yabause/linux/windows/windows

From Yabause
Jump to: navigation, search
Yabause Manual
For users
For developers
edit

top » build: linux » host: windows » port: windows

Dependencies

Required

  • a cross compilation build of gcc
  • directx 8 headers
  • cmake
  • make

Optional

  • mini18n cross compiled for windows

Getting the source

You can either use a release tarball or fetch sources from SVN. It is recommended to use a released source tarball.

Release

The latest sources are available on download page. After downloading, uncompress the archive:

tar -xzvf yabause-X.Y.Z.tar.gz 

this will create a yabause-X.Y.Z directory.

SVN

If for some reason, you want to use the latest development code, you can fetch a SVN copy:

svn co https://yabause.svn.sourceforge.net/svnroot/yabause/trunk/yabause

This will create a yabause directory.

Configuration

YABSRC=/path/to/yabause/sources
cmake -DCMAKE_TOOLCHAIN_FILE=$YABSRC/src/windows/windows.cmake $YABSRC

Compilation

make