Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 2.06 KB

README.md

File metadata and controls

66 lines (49 loc) · 2.06 KB

Usage Guide

This is the user guide for the template and how to adapt it to your own needs.

Table of contents


Requirements

Git LFS

This template contains assets, specifically icons and fonts. When starting a new project from a template it gets a clean history. Nevertheless, all assets should be stored through Git Large File Storage (LFS).

As preparation this template contains a .gitattributes marking all necessary files. After project creation from this template git lfs migrate should be executed. It requires Git LFS v2.2.1 or later to be installed.

Have a look at Migrating existing repository data to LFS for an in-depth how-to or run the following commands.

# Initialize Git LFS
git lfs install

# Track files
git mv .gitattributes_example .gitattributes
git commit -m "Add .gitattributes"

# Migrate history to track files and store them in Git LFS
git lfs migrate import --everything --include="*.png,*.tiff,*.bmp,*.ico,*.icns,*.ttf"
git push --force-with-lease

# Clear local .git cache
git reflog expire --expire-unreachable=now --all
git gc --prune=now

CMake

The project uses CMake version >=3.22.

Ninja or Xcode

Depending on the operating system, the project uses either Ninja version >=1 for Windows and Linux, or Xcode version >=13 on macOS.