Topic: Submission guidelines
As I'm getting ready to submit the first pass at the package system, I just thought I'd try and find out what is reccommended for submitting code, and in my case in particular, third party libraries. I made a new topic so that it might be useful to other people if they look.
I am a little confused about third party libraries. I have had to compile libnpk myself but I haven't changed the library myself. Should I include the source for the library into the maratis svn tree or should I just include the libraries and headers? Maybe along with a readme on how to rebuild the library if needed, with link to the svn repo or something? Should I supply debug libraries (with windows pdb files) or release libraries?
Is there any specific directory structure I should be following? At the moment I have:
npk
|---win32
| |---bin
| | `npk.exe
| `---libnpk.lib
|---linux
| |---bin
| | `npk
| `---libnpk.a
|---osx
| |---bin
| | `
| `
`---include
|---npk.h
|---npk_base.h
|---npk_conf.h
|---npk_dev.h
`---npk_error.h
Also, I'm aware that I should only submit code which compiles and runs, I, however, don't have access to a Mac, so I cannot build libnpk myself, or test it. Is this acceptable? What are the recommended defines for not compiling untested code per platform?
Another question that's sort of libnpk specific, there is a flag for building libnpk in "dev mode" which allows writing to npk files. If Maratis editor is to publish packages from code, it will need to be built against a dev library. However, there's no need for Maratis player to be built against the larger library, should I therefore make 2 libraries to link to, a libnpk-dev for the editor and libnpk for the player? Or just link to the larger library for both?
Last edited by Nistur (2012-01-13 22:22:58)