7.1 Build Configuration

# In Makefile
SPECTRE_PATH ?= /from/library/polygon/SPECTRE

CFLAGS += -I$(SPECTRE_PATH)/internal

# Link with SPECTRE if available
LDFLAGS += -L$(SPECTRE_PATH)/lib

7.2 Conditional Compilation

/* In d3tui_config.h */
#ifdef D3TUI_USE_SPECTRE
#define D3TUI_HAVE_SHACHI_VMU 1
#define D3TUI_HAVE_SHACHI_MATH 1
#define D3TUI_HAVE_SHACHI_ASSETS 1
#define D3TUI_HAVE_SHACHI_PROFILER 1
#endif

8. Testing Requirements