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

Lack of documentation #162

Open
bergentroll opened this issue Jan 20, 2021 · 6 comments
Open

Lack of documentation #162

bergentroll opened this issue Jan 20, 2021 · 6 comments

Comments

@bergentroll
Copy link
Contributor

There is some docs, partly html, partly txt and a bit outdated. There may be cool to have short and clear README.md and also short, clean and generic build instruction with crucial options description.

@B4rabbas
Copy link

B4rabbas commented Mar 4, 2021

Yeah, I'm strugglin now to compile it, and the outated informations don't really help and made me perplex.

@joaocaju
Copy link

joaocaju commented Feb 5, 2023

Not quite a documentation, but I managed to create a Steam Guide to create heroes on Wyrmsun - https://steamcommunity.com/sharedfiles/filedetails/?id=2728236434.
It briefly mentions most-ish of the types of coding info for heroes.

@ghost
Copy link

ghost commented Feb 5, 2023

Yeah, I'm strugglin now to compile it, and the outated informations don't really help and made me perplex.

Compilation instructions:

  • If cloning the git repo, make sure to have done a recursive cloning. If not, the command git submodule init; git submodule update --recursive should fix it.
  • create a build directory
  • in the newly created build directory, run the command cmake $path_to_wyrmsun_roo_directory
  • if cmake fails, you're missing dependencies, and cmake will have given you the name of the 1st missing one. Install it and re-run cmake until there are no more errors. ALternatively, you can read the build instructions to know which dependencies you need (dunno if it's outdated or not)
  • then run make

It is possible to use other build engines than make, by giving cmake the information with the -G flag. For example, I often do cmake .. -G Ninja. It is possible to generate project files for visual studio, code::blocks, qtcreator and many others.

Those instructions could use a complete list of dependencies ofc. The current README.md file seems generated by some mean, so dunno what Andrettin would prefer.

@Andrettin
Copy link
Owner

@joaocaju Awesome guide! :)

@Andrettin
Copy link
Owner

@bmorel Thanks for writing the instructions! About the Wyrmsun readme file (if that's the one you meant), it was written by hand.

The dependencies are listed (for instance) here:
https://github.com/Andrettin/Wyrmgus/blob/master/doc/building_on_ubuntu_20.txt

@ghost
Copy link

ghost commented Feb 5, 2023

you're welcome. It's not that long to write after all. Have to say I have not checked this works on wyrmsun, but I see no reason why it would not, as this is my usual process when I clone a project that uses cmake (because i'm often too lazy to RTFM and get the deps list :D )

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

No branches or pull requests

4 participants