OpenFodder / openfodder

Open Fodder: An open source port of Cannon Fodder
http://openfodder.com
GNU General Public License v3.0
459 stars 42 forks source link

Implements a basic CMake build system. #36

Closed Richmondez closed 3 years ago

Richmondez commented 5 years ago

Expects to be out of the source tree, so build process is something like the following:

git clone https://github.com/OpenFodder/openfodder.git cd openfodder mkdir build cd build cmake .. make cp openfodder ../Run

For windows you will need to add -DSDL2_ROOT_DIR=C:\PATH\TO\SDL2 -DSDL2MIXER_ROOT_DIR=C:\PATH\TO\SDL2MIXER so it knows where to look for SDL2 components though it can find MSYS2 installed mingw-w64 version of SDL2 without them.

segrax commented 5 years ago

Hi @Richmondez

Thanks for taking the time to put this together,

I'll give it a try one night this week!

xcom169 commented 3 years ago

I will also try this on Manjaro, because normal makefile, AUR is not working anymore.

poeschel commented 3 years ago

Tested this on recent debian testing. Works like a charm. Please merge.

segrax commented 3 years ago

Merged! Apologies for the extremely slow response