Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplements a basic CMake build system. #36
Conversation
|
Hi @Richmondez Thanks for taking the time to put this together, I'll give it a try one night this week! |
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.