SFML-Project-Template

(★ 18)

Skeleton project folder for building SFML-project with cmake

File Explorer

  • .gitignore
  • CMakeLists.txt
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

cmake

View Details ▼

Cross-platform build automation system, that generates recipes for native build systems.

cmake {{path/to/project_directory}}

Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:

cmake --build {{path/to/build_directory}}

Use a generated recipe in a given directory to build artifacts:

cmake --install {{path/to/build_directory}} --strip

Install the build artifacts into `/usr/local/` and strip debugging symbols:

🔍

gdb

View Details ▼

The GNU Debugger.

gdb {{path/to/executable}}

Debug an executable:

gdb {{[-p|--pid]}} {{process_id}}

Attach a process to `gdb`:

gdb {{[-c|--core]}} {{path/to/core}} {{path/to/executable}}

Debug with a core file:

🔍

apt install

View Details ▼

Install packages for Debian-based distributions.

sudo apt install {{package}}

Install a package, or update it to the latest version:

sudo apt install {{[-V|--verbose-versions]}} {{package}}

Display verbose package version information during installation or update:

🔍

apt

View Details ▼

Package manager for Debian-based distributions.
Intended as a user-friendly alternative to `apt-get` for interactive use.
For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.

sudo apt update

Update the list of available packages and versions (recommended before running other `apt` commands):

apt search {{package}}

Search packages by name or description:

apt list {{package}}

Search packages by name only (supports wildcards like `*`):

🔍

pacman -S

View Details ▼

This command is an alias of `pacman --sync`.

tldr pacman sync

View documentation for the original command:

🔍

pacman

View Details ▼

Arch Linux package manager utility.
See also: `pacman-sync`, `pacman-remove`, `pacman-query`, `pacman-upgrade`, `pacman-files`, `pacman-database`, `pacman-deptest`, `pacman-key`, `pacman-mirrors`.
For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>.

sudo pacman -Syu

[S]ynchronize and update all packages:

sudo pacman -S {{package}}

Install a new package:

sudo pacman -Rs {{package}}

[R]emove a package and its dependencies:

🔍

xcode-select

View Details ▼

Switch between different versions of Xcode and the included developer tools.
Also used to update the path to Xcode if it is moved after installation.

xcode-select --install

Install Xcode's command-line tools:

xcode-select --switch {{path/to/Xcode.app/Contents/Developer}}

Select a given path as the active developer directory:

xcode-select --switch {{path/to/Xcode_file.app}}

Select a given Xcode instance and use its developer directory as the active one:

// repository documentation