Skip to content

Latest commit

 

History

History
71 lines (44 loc) · 1.74 KB

2_1_1_1_PATHS.md

File metadata and controls

71 lines (44 loc) · 1.74 KB

Path Variables

The variables in this section pertain to:

  • Querying where Theos stores certain resource files which may need to be referenced.
  • Designating directories wherein Theos should store build-related output files.

Theos Resource Locations

%INDENT%

THEOS %R%

The path to Theos.

Defined in common.mk.

THEOS_MAKE_PATH %R%

The path where Theos' Makefiles are located.
Save common.mk, Theos Makefile inclusions should be based on this variable.

Defined in common.mk.

THEOS_BIN_PATH %R%

The path where Theos stores its binaries.
Install, query and bootstrap scripts, Logos, NIC, and others are stored here.

Defined in common.mk.

THEOS_LIBRARY_PATH %R%

The path where linkable libraries are kept.
This directory is added to the linker's library search path for each built instance.

Defined in common.mk.

THEOS_INCLUDE_PATH %R%

The path where headers meant for use in Theos projects are stored.
This directory is added to the compiler's include path for each built object.

Defined in common.mk.

THEOS_MODULE_PATH %R%

The path where Theos Modules are stored.

Defined in common.mk.

%INDENTEND%

Project Build Locations

%INDENT%

THEOS_BUILD_DIR %S%

The directory which houses a project's object directory, staging directory and built packages.

Defaults to the project's root directory.
Defined in common.mk.

THEOS_OBJ_DIR_NAME %S%

The name of the directory which houses a project's built object files and main executable.

Defaults to "obj".
Defined in common.mk.

THEOS_STAGING_DIR %S%

The name of the project's staging directory.

Defaults to "_".
Defined in common.mk.

%INDENTEND%