Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements a basic CMake build system. #36

Open
wants to merge 1 commit into
base: master
from

Conversation

@Richmondez
Copy link

@Richmondez Richmondez commented Mar 24, 2019

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
Copy link
Member

@segrax segrax commented Mar 24, 2019

Hi @Richmondez

Thanks for taking the time to put this together,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.