I found the wiki page for adding and removing source files from the codebase, but it is woefully short on details.
- I only have Mac OSX (Xcode). Do not have Linux or Windows.
Will I be able to modify the files needed to compile on those platforms with a text editor?
Or will the lack of Visual Studio (Windows) require me to ask one of the mods to handle the PR?
(If the answer is "yes I can edit", then I'll post a follow-up with questions about MSVC.)
- Is there a listing of all the target builds, and maybe a description?
In Xcode, I see: Configure, GG, Parse, Common, ClientCommon, FreeOrionServer, FreeOrionClient, FreeOrionAI, FreeOrion, and MakeDMG.
The Wiki page suggests only putting files into the appropriate projects, but I'm largely in the dark about the projects.
(How is ClientCommon different than FreeOrionClient or FreeOrionAI?)
- I was recently told "when building the file as part of freeorioncommon the symbol needs to be exported with FO_COMMON_API". (My function probably shouldn't be in Common, but I'm still curious about this.) Are there "rules" somewhere for this kind of thing? I noticed FO_COMMON_API all over the code base, but this is the first time I've heard someone talk about it.
(I tried searching for that term in the forum and the wiki, without success. Seems like the search engine brought up everything with "common", but no hits for the API.)