mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
9e4315bb50
This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module should be included with relative paths (relative to the root folder of the modular component, e.g. `platform/linuxbsd/`), in their own section before Godot's "core" includes. The `api` and `export` subfolders also need to be handled as self-contained (and thus use relative paths for their "local" includes) as they are all compiled for each editor platform, without necessarily having the api/export matching platform folder in the include path. E.g. the Linux editor build will compile `platform/android/{api,export}/*.cpp` and those need to use relative includes for it to work. |
||
---|---|---|
.. | ||
doc_classes | ||
export | ||
x11 | ||
crash_handler_linuxbsd.cpp | ||
crash_handler_linuxbsd.h | ||
dbus-so_wrap.c | ||
dbus-so_wrap.h | ||
detect.py | ||
fontconfig-so_wrap.c | ||
fontconfig-so_wrap.h | ||
freedesktop_portal_desktop.cpp | ||
freedesktop_portal_desktop.h | ||
freedesktop_screensaver.cpp | ||
freedesktop_screensaver.h | ||
godot_linuxbsd.cpp | ||
joypad_linux.cpp | ||
joypad_linux.h | ||
libudev-so_wrap.c | ||
libudev-so_wrap.h | ||
logo.svg | ||
os_linuxbsd.cpp | ||
os_linuxbsd.h | ||
pck_embed.ld | ||
pck_embed.legacy.ld | ||
platform_config.h | ||
platform_linuxbsd_builders.py | ||
README.md | ||
run_icon.svg | ||
SCsub | ||
speechd-so_wrap.c | ||
speechd-so_wrap.h | ||
tts_linux.cpp | ||
tts_linux.h | ||
xkbcommon-so_wrap.c | ||
xkbcommon-so_wrap.h |
Linux/*BSD platform port
This folder contains the C++ code for the Linux/*BSD platform port.
See also misc/dist/linux
folder for additional files
used by this platform.
Documentation
- Compiling for Linux/*BSD
- Instructions on building this platform port from source.
- Exporting for Linux/*BSD
- Instructions on using the compiled export templates to export a project.
Artwork license
logo.png
is derived from the Linux logo:
Permission to use and/or modify this image is granted provided you acknowledge me lewing@isc.tamu.edu and The GIMP if someone asks.