Skip to content

Structure

uroboro edited this page Nov 26, 2018 · 4 revisions

Explanations of the structure of files and folders within Theos:

  • bin/: Contains various scripts used both internally by Theos and externally by the user.
  • include/: Provided for you to place your own headers in.
  • lib/: Provided for you to place your own libraries and frameworks in.
  • makefiles/: The makefiles that comprise the majority of Theos itself.
    • install/: Rules for installing packages on different platforms. These execute commands upon install and uninstall of the package.
    • instance/: Makefiles included from a sub-make when building an individual instance (project). This includes the compilation of source.
    • master/: Makefiles included from the master make invocation.
    • package/: Rules for building packages for various packaging formats. These execute commands upon building of the package.
    • platform/: Makefiles included depending on the current operating system platform. These set up the Theos environment appropriately for the platform.
    • targets/: Makefiles included depending on the current operating system platform, and the platform being targeted. These set up the Theos environment appropriately to build for a platform.
  • mod/: Provided for you to place modules in. Theos will automatically include various files from here.
  • sdks/: Provided for you to place SDKs in.
  • templates/: Provided for you to place your own NIC templates in. Currently also still houses the built-in templates.
  • toolchain/: Provided for you to place toolchains in, as directed at Installation.
  • vendor/: Submodule components included with Theos.
    • dm.pl/: The files for the script used to build deb packages without needing dpkg-deb.
    • include/: Built-in headers that may or may not be useful for most projects.
    • lib/: Built-in library definitions that may or may not be useful for most projects.
    • logos/: The files for Logos.
    • nic/: The files for NIC.
  • Prefix.pch: The prefix header imported into the compilation process for all C-based languages. Used to define macros and import framework headers.
You can’t perform that action at this time.