chrgfx

(★ 78)

Converts to and from tile based graphics used in retro video games

File Explorer

  • .clang-format
  • .clangd
  • .editorconfig
  • .gitignore
  • CMakeLists.txt
  • Doxyfile
  • graphics.md
  • LICENSE
  • 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.

🔍

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:

🔍

xargs

View Details ▼

Execute a command with piped arguments coming from another command, a file, etc.
The input is treated as a single block of text and split into separate pieces on spaces, tabs, newlines, and end-of-file.
See also: `parallel`.

{{arguments_source}} | xargs {{command}}

Run a command using the input data as arguments:

{{arguments_source}} | xargs sh -c "{{command1}} && {{command2}} | {{command3}}"

Run multiple chained commands on the input data:

{{arguments_source}} | xargs {{[-n|--max-args]}} 1 {{command}}

Execute a new command with each argument:

🔍

ldconfig

View Details ▼

Configure symlinks and cache for shared library dependencies.

sudo ldconfig

Update symlinks and rebuild the cache (usually run when a new library is installed):

sudo ldconfig -n {{path/to/directory}}

Update the symlinks for a given directory:

ldconfig {{[-p|--print-cache]}} | grep {{library_name}}

Print the libraries in the cache and check whether a given library is present:

// repository documentation