Skip to content

Add CMake support#11

Open
karjonas wants to merge 2 commits into
martinohanlon:masterfrom
karjonas:cmake
Open

Add CMake support#11
karjonas wants to merge 2 commits into
martinohanlon:masterfrom
karjonas:cmake

Conversation

@karjonas

@karjonas karjonas commented Nov 1, 2016

Copy link
Copy Markdown

This adds support for compiling using cmake as well as instructions for windows and ubuntu.

@martinohanlon

Copy link
Copy Markdown
Owner

@karjonas do you think it would be possible to extend this compilation process to include the raspberry pi version? Is the an opportunity to have a single code base for both PC & Pi versions?

My knowledge of cmake is pretty limited but based on what you have created, it looks possible, albeit there is a challenge that only allegro 5.0 is available via apt on the Pi and a minimum of 5.2 (preferably 5.2.2) is required.

@karjonas

Copy link
Copy Markdown
Author

I have not tried it on a Pi but I think if you have all the prerequisite libraries installed it should work out of the box.

Link allegro if using Unix or MSYS

Copy assets folder to destination to be able to run from compile directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants