bash.d/20-ninja
Ole-Morten Duesund 4cfec0b336 Initial commit: modular bash configuration
Reinitialised repo to purge credential history.
Credential files are now gitignored with .example templates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 11:57:24 +01:00

9 lines
297 B
Text
Executable file

# shellcheck shell=bash
if command -v ninja &>/dev/null; then
export NINJA_STATUS="[%e sec | %p (%u remaining) | %o / sec] "
export CMAKE_GENERATOR=Ninja
fi
if command -v ccache &>/dev/null; then
export CMAKE_C_COMPILER_LAUNCHER=ccache
export CMAKE_CXX_COMPILER_LAUNCHER=ccache
fi