Skip to content

ThKattanek/oldschool_intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oldschool Intro

A oldschool intro with sdl2

Screenshot

Used libraries

  • SDL2
  • SLD2_image
  • SDL2_gfx
  • SDL2_mixer

Build

git clone https://github.com/ThKattanek/oldschool_intro.git
cd oldschool_intro
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
make install

Optional kann noch -DCMAKE_INSTALL_PREFIX=[InstallPfad] verwendet werden.

Uninstall

xargs rm < install_manifest.txt

Warning! Directories created by the installation are not removed, but only all files created.

Compiling for Windows x32 with MXE (Crossdev)

cd ~
git clone https://github.com/ThKattanek/oldschool_intro.git
cd oldscool_intro
mkdir build-win-x32
cd build-win-x32
[MXE-PATH]/usr/bin/i686-w64-mingw32.static-cmake .. -DWIN32_STATIC_BUILD=TRUE -DCMAKE_INSTALL_PREFIX=../install-win-x32
make
make install

Compiling for Windows x64 with MXE (Crossdev)

cd ~
git clone https://github.com/ThKattanek/oldschool_intro.git
cd oldscool_intro
mkdir build-win-x64
cd build-win-x64
[MXE-PATH]/usr/bin/x86_64-w64-mingw32.static-cmake .. -DWIN32_STATIC_BUILD=TRUE -DCMAKE_INSTALL_PREFIX=../install-win-x64
make
make install

Complete build and create the windows versions (32/64bit) as 7zip with Script (crossbuild_win_releases.sh)

MXE required

cd ~
git clone https://github.com/ThKattanek/oldschool_intro.git
cd oldscool_intro
./crossbuild_win_releases.sh [MXE-PATH]