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

Support build & install via CMake #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

FaultyRAM
Copy link

Exactly what it says on the tin. This adds a CMakeLists.txt that can be used to build and install Wander and friends. The main binary is installed to ${CMAKE_INSTALL_PREFIX}/bin, the documentation to ${CMAKE_INSTALL_PREFIX}/share/doc/wander, and the worlds to ${CMAKE_INSTALL_PREFIX}/share/wander. Each world has its own subdirectory once installed, so the command line looks even worse now (wander /../../../../usr/local/share/wander/library/library, blargh), but that should be an easy fix.

Note that the project version is just a placeholder; each code file has a version number in it, but there doesn't seem to be a single version number for Wander as a whole.

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.

1 participant