Submodule projects
Where possible, Lime prefers to use GitHub repositories as submodules, as this makes browsing easier. (GitHub refuses to link to non-GitHub repos.) However, several of these repositories are mirrored from elsewhere, and will ignore issues and pull requests submitted on GitHub.
Always submit issues and pull requests to the primary repo, not to a GitHub mirror.
Cairo: homepage | repo | GitHub mirror
efsw: repo
FreeType: homepage | repo | GitHub mirror
libjpeg: homepage | download | unofficial GitHub mirror
LZMA: homepage + download | unofficial GitHub mirror
Pixman: homepage | repo | GitHub mirror
tiny file dialogs: homepage | repo
libvpx: homepage | repo | GitHub mirror
libwebm: homepage | repo | GitHub mirror
Overrides
The overrides folder contains a number of customized headers and source files, to be used instead of the equivalent file(s) in the submodule. (Or in addition to: some submodules intentionally omit files, expecting the user to generate them.)
All cases require updating the corresponding files.xml file.
-
To add or override a header, include the overrides folder first (if not already included).
+<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/overrides/sdl/include/" /> <compilerflag value="-I${NATIVE_TOOLKIT_PATH}/sdl/include/" /> -
To add a source file, insert a
<file />tag.+<file name="${NATIVE_TOOLKIT_PATH}/overrides/sdl/src/SDL_extra.c" /> -
To override a source file, replace the
<file />tag.-<file name="${NATIVE_TOOLKIT_PATH}/sdl/src/SDL_log.c" /> +<file name="${NATIVE_TOOLKIT_PATH}/overrides/sdl/src/SDL_log.c" />